Created
August 3, 2012 13:32
-
-
Save crossforward/3247731 to your computer and use it in GitHub Desktop.
Create a Mac Application .iconset collection from base image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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/[email protected] | |
convert $1 -resize 32x32 icon.iconset/icon_32x32.png | |
convert $1 -resize 64x64 icon.iconset/[email protected] | |
convert $1 -resize 128x128 icon.iconset/icon_128x128.png | |
convert $1 -resize 256x256 icon.iconset/[email protected] | |
convert $1 -resize 256x256 icon.iconset/icon_256x256.png | |
convert $1 -resize 512x512 icon.iconset/[email protected] | |
convert $1 -resize 512x512 icon.iconset/icon_512x512.png | |
convert $1 -resize 1024x1024 icon.iconset/[email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment