[scale-app-icons] Generate 1x iPad app icons
This commit is contained in:
parent
93a70b9438
commit
5fa5027a13
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ done
|
|||
for SIZE in 20 29 40 76 83.5; do
|
||||
PREFIX="${FILENAME%.png}_iPad_$SIZE"
|
||||
echo "* Generating iPad icons at $SIZE points with filename prefix $PREFIX"
|
||||
S=$SIZE
|
||||
gm convert "$IN_FILE" -scale ${S}x${S} "$OUT_DIR/$PREFIX.png"
|
||||
S=$((2 * SIZE))
|
||||
gm convert "$IN_FILE" -scale ${S}x${S} "$OUT_DIR/$PREFIX@2x.png"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in a new issue