Skip to content

Instantly share code, notes, and snippets.

@rcaetano
Created February 22, 2011 11:29
Show Gist options
  • Save rcaetano/838539 to your computer and use it in GitHub Desktop.
Save rcaetano/838539 to your computer and use it in GitHub Desktop.
Creates the required iOS icons
#!/bin/bash
#
# Creates the required icon images for iOS:
# Icon.png (57x57)
# [email protected] (114x114)
# Icon-72.png (72x72)
# Icon-Small-50.png (50x50)
# Icon-Small.png (29x29)
# [email protected] (58x58)
#
# Requries a source icon: Icon-512.png (512x512)
#
cp -f Icon-512.png Icon.png
sips -z 57 57 Icon.png
cp -f Icon-512.png [email protected]
sips -z 114 114 [email protected]
cp -f Icon-512.png Icon-72.png
sips -z 72 72 Icon-72.png
cp -f Icon-512.png Icon-Small-50.png
sips -z 50 50 Icon-Small-50.png
cp -f Icon-512.png Icon-Small.png
sips -z 29 29 Icon-Small.png
cp -f Icon-512.png [email protected]
sips -z 58 58 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment