Created
July 6, 2019 15:38
-
-
Save Nazar2/9c1ae7334b1c5e7424ae8eafe59b3c73 to your computer and use it in GitHub Desktop.
iOS app icons resizer
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/sh | |
cp $1 [email protected] | |
sips -Z 40 [email protected] | |
cp $1 [email protected] | |
sips -Z 60 [email protected] | |
cp $1 [email protected] | |
sips -Z 58 [email protected] | |
cp $1 [email protected] | |
sips -Z 87 [email protected] | |
cp $1 [email protected] | |
sips -Z 80 [email protected] | |
cp $1 [email protected] | |
sips -Z 120 [email protected] | |
cp $1 [email protected] | |
sips -Z 120 [email protected] | |
cp $1 [email protected] | |
sips -Z 180 [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose you already have icon.png file with size 1024*1024px.
Usage in terminal:
chmod u+x resizeIcon.sh
./resizeIcon.sh icon.png