-
-
Save apeckham/c23106f708ad33cf144a to your computer and use it in GitHub Desktop.
Generate all xcode 5 app icon sizes from one original large icon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p generated | |
for size in 29 $((29*2)) $((29*3)) $((40*2)) $((40*3)) 57 $((57*2)) $((60*2)) $((60*3)) 29 $((29*2)) 40 $((40*2)) 50 $((50*2)) 72 $((72*2)) 76 $((76*2)); do | |
sips -Z $size --out generated/$size.png sourceIcon.png | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment