- Added changes suggested by Lucas Gonze.
- Added changelog.
- Initial release.
#! /bin/bash | |
# Pass in the name of the source file to resize as a command line argument | |
# More information here: http://bit.ly/NlHBqL | |
mkdir -p icon.iconset | |
convert $1 -resize 16x16 icon.iconset/icon_16x16.png | |
convert $1 -resize 32x32 icon.iconset/icon_16x16@2x.png | |
convert $1 -resize 32x32 icon.iconset/icon_32x32.png | |
convert $1 -resize 64x64 icon.iconset/icon_32x32@2x.png | |
convert $1 -resize 128x128 icon.iconset/icon_128x128.png |