Skip to content

Instantly share code, notes, and snippets.

@volca
Forked from lexrus/asicon.sh
Created April 3, 2012 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save volca/2288742 to your computer and use it in GitHub Desktop.
Save volca/2288742 to your computer and use it in GitHub Desktop.
AppStore Icons Generator
#!/bin/bash
# According to https://developer.apple.com/library/ios/#qa/qa1686/_index.html
# Install GraphicsMagick with Homebrew: brew install GraphicsMagick
gm convert $1 -resize 512x512 iTunesArtwork.png # Ad Hoc iTunes
gm convert $1 -resize 144x144 Icon-72@2x.png # Home screen for "The New iPad"
gm convert $1 -resize 114x114 Icon@2x.png # Home screen for Retina display iPhone/iPod
gm convert $1 -resize 72x72 Icon-72.png # App Store and Home screen on iPad
gm convert $1 -resize 58x58 Icon-Small@2x.png # Spotlight and Settings for Retina display
gm convert $1 -resize 57x57 Icon.png # Home screen on non-Retina iPhone/iPod
gm convert $1 -resize 50x50 Icon-Small-50.png # Spotlight on iPad 1/2
gm convert $1 -resize 29x29 Icon-Small.png # Settings on iPad and iPhone, and Spotlight on iPhone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment