-
-
Save grachyov/cfb478e49dfaf01f40dced36febb057e 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 | |
sips -Z 29 --out generated/iPhoneSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/iPhoneSettings-29x29@2x.png sourceIcon.png | |
sips -Z 80 --out generated/iPhoneSpotlight-40x40@2x.png sourceIcon.png | |
sips -Z 120 --out generated/iPhoneApp-60x60@2x.png sourceIcon.png | |
sips -Z 29 --out generated/iPadSettings-29x29.png sourceIcon.png | |
sips -Z 58 --out generated/iPadSettings-29x29@2x.png sourceIcon.png | |
sips -Z 40 --out generated/iPadSpotlight-40x40.png sourceIcon.png | |
sips -Z 80 --out generated/iPadSpotlight-40x40@2x.png sourceIcon.png | |
sips -Z 76 --out generated/iPadApp-76x76.png sourceIcon.png | |
sips -Z 152 --out generated/iPadApp-76x76@2x.png sourceIcon.png | |
#cp generated/*.png path/to/Images.xcassets/AppIcon.appiconset |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment