Created
November 5, 2014 17:11
-
-
Save brutella/4b73a3cae32c2508accf to your computer and use it in GitHub Desktop.
Create iOS 8 app icons
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/sh | |
# Usage | |
# ./generate-icons.sh ./AppIcon.png | |
FILE=$1 | |
DIR=$(dirname $FILE) | |
convert -resize '120x120' ${FILE} ${DIR}/iPhone@2x.png | |
convert -resize '180x180' ${FILE} ${DIR}/iPhone@3x.png | |
convert -resize '58x58' ${FILE} ${DIR}/iPad_Settings@2x.png | |
convert -resize '58x58' ${FILE} ${DIR}/iPhone_Settings@2x.png | |
convert -resize '80x80' ${FILE} ${DIR}/iPad_Spotlight@2x.png | |
convert -resize '80x80' ${FILE} ${DIR}/iPhone_Spotlight@2x.png | |
convert -resize '76x76' ${FILE} ${DIR}/iPad.png | |
convert -resize '152x152' ${FILE} ${DIR}/iPad@2x.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment