Created
May 15, 2014 10:29
-
-
Save gwennguihal/1138dbec424d260f9d8b to your computer and use it in GitHub Desktop.
IOS AppIcon generator
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 40 "${f}/${1}" --out "${f}/Icon-40.png" | |
| sips --resampleWidth 80 "${f}/${1}" --out "${f}/[email protected]" | |
| sips --resampleWidth 120 "${f}/${1}" --out "${f}/[email protected]" | |
| sips --resampleWidth 29 "${f}/${1}" --out "${f}/Icon-29.png" | |
| sips --resampleWidth 58 "${f}/${1}" --out "${f}/[email protected]" | |
| sips --resampleWidth 50 "${f}/${1}" --out "${f}/Icon-Small-50.png" | |
| sips --resampleWidth 76 "${f}/${1}" --out "${f}/Icon-76.png" | |
| sips --resampleWidth 152 "${f}/${1}" --out "${f}/[email protected]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment