Created
May 13, 2015 16:19
-
-
Save GregPK/1a7340622a1d96b8ef33 to your computer and use it in GitHub Desktop.
given an appicon.png file in the `platform/android/res` directory of the Titanium project, will generate icons with proper sizes for all devices
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
convert appicon.png -resize 192x192\! drawable-xxxhdpi/appicon.png && \ | |
convert appicon.png -resize 144x144\! drawable-xxhdpi/appicon.png && \ | |
convert appicon.png -resize 96x96\! drawable-xhdpi/appicon.png && \ | |
convert appicon.png -resize 72x72\! drawable-hdpi/appicon.png && \ | |
convert appicon.png -resize 48x48\! drawable-mdpi/appicon.png && \ | |
convert appicon.png -resize 36x36\! drawable-ldpi/appicon.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment