Created
December 8, 2014 15:37
-
-
Save luispedrofonseca/6ae5de44baf0a4759407 to your computer and use it in GitHub Desktop.
Create the iOS icons needed by Unity
This file contains hidden or 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) | |
sips --resampleWidth 57 "${f}/${1}" --out "${f}/57x57.png" | |
sips --resampleWidth 72 "${f}/${1}" --out "${f}/72x72.png" | |
sips --resampleWidth 76 "${f}/${1}" --out "${f}/76x76.png" | |
sips --resampleWidth 114 "${f}/${1}" --out "${f}/114x114.png" | |
sips --resampleWidth 120 "${f}/${1}" --out "${f}/120x120.png" | |
sips --resampleWidth 144 "${f}/${1}" --out "${f}/144x144.png" | |
sips --resampleWidth 152 "${f}/${1}" --out "${f}/152x152.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment