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.
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.
Remove variants that are not needed (e.g. iPad Portrait) from the catalogs to optimize app size.
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
Rasmus Makwarth / Opbeat for the fisi graphics.