Created
May 8, 2014 08:13
-
-
Save klrkdekira/4b01976ef3185926bc3c to your computer and use it in GitHub Desktop.
IOS splash resizer (ImageMagick)
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
#!/bin/bash | |
f=$(pwd) | |
convert "${f}/${1}" -resize 320x480 "${f}/Default~iphone.png" | |
convert "${f}/${1}" -resize 640x960 "${f}/Default@2x~iphone.png" | |
convert "${f}/${1}" -resize 640x1136 "${f}/Default-568h@2x~iphone.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment