iPhone3G、iPhone4、iPad用のアイコンをまとめて作成

自動でリサイズして名前を付けるシェルスクリプト書いた。
ImageMagic必須。

icon.sh

#!/bin/sh

convert -resize 57x57 $1 Icon.png
convert -resize 72x72 $1 Icon-72.png
convert -resize 114x114 $1 [email protected]
convert -resize 29x29 $1 Icon-Small.png
convert -resize 50x50 $1 Icon-Small-50.png
convert -resize 58x58 $1 [email protected]

実行例

sh icon.sh input.jpg