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 Icon@2x.png convert -resize 29x29 $1 Icon-Small.png convert -resize 50x50 $1 Icon-Small-50.png convert -resize 58x58 $1 Icon-Small-@2x.png
実行例
sh icon.sh input.jpg