Skip to content

Scripts to automatically generate iOS icons and launch images in the correct sizes

Notifications You must be signed in to change notification settings

liruqi/iOS-resource-generator

 
 

Repository files navigation

What is?

Scripts to automatically generate iOS icons and launch images in the correct sizes. Also contains optimal asset catalogs with reused images for identical sizes.

Tested with Xcode 5,6 and iOS 6-8.

No dependencies.

Usage

Default-Input.png and Icon-Input.png contain the initial graphics for the launch image and icons respectively.

From Terminal run:

./CreateiOSLaunchImagesPortrait.sh --padColor F9782C

--padColor specify padding color, other possible parameters may be found here: https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sips.1.html

and

./CreateiOSIcons.sh

and

./CreateiOSToolbarNavigationIcons.sh

to create all necessary size variants.

Optional

Remove variants that are not needed (e.g. iPad Portrait) from the catalogs to optimize app size.

For best results

Default-Input.png:

  • Portrait
  • Aspect ratio 4:3 (with content croppable to 16:9)
  • Highest quality if at least 2208px wide

Icon-Input.png:

  • Square (1:1 aspect ratio)
  • Highest quality if at least 1024x1024px

ToolbarNavigationIcon-Input.png:

  • Square (1:1 aspect ratio)
  • Highest quality if at least 1024x1024px

Credits

Rasmus Makwarth / Opbeat for the fisi graphics.

About

Scripts to automatically generate iOS icons and launch images in the correct sizes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 100.0%