RetroArch/media/render-ios-icons.sh

12 lines
296 B
Bash
Raw Normal View History

#!/bin/bash
set -x
2015-01-01 20:13:44 +00:00
DEST=${1:-../apple/iOS/Resources/Media.xcassets/AppIcon.appiconset}
for pt in 29 40 57 60 50 72 76 ; do
for scale in 1 2 3 ; do
side=$(expr $pt \* $scale)
convert retroarch.svg -resize ${side}x${side} -negate ${DEST}/Icon-${pt}-${scale}.png
done
done