Created
March 6, 2012 08:48
-
-
Save lexrus/1984984 to your computer and use it in GitHub Desktop.
AppStore Icons Generator
This file contains 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 | |
# According to https://developer.apple.com/library/ios/#qa/qa1686/_index.html | |
# Install ImageMagick with MacPort: sudo port install ImageMagick | |
convert $1 -resize 512x512 iTunesArtwork.png # Ad Hoc iTunes | |
convert $1 -resize 144x144 Icon-72@2x.png # Home screen for "The New iPad" | |
convert $1 -resize 114x114 Icon@2x.png # Home screen for Retina display iPhone/iPod | |
convert $1 -resize 72x72 Icon-72.png # App Store and Home screen on iPad | |
convert $1 -resize 58x58 Icon-Small@2x.png # Spotlight and Settings for Retina display | |
convert $1 -resize 57x57 Icon.png # Home screen on non-Retina iPhone/iPod | |
convert $1 -resize 50x50 Icon-Small-50.png # Spotlight on iPad 1/2 | |
convert $1 -resize 29x29 Icon-Small.png # Settings on iPad and iPhone, and Spotlight on iPhone |
2015 Jun update:
#!/bin/bash
# According to https://developer.apple.com/library/ios/#qa/qa1686/_index.html
# Install ImageMagick with MacPort: sudo port install ImageMagick
# run on mac: sh asicon.sh src.png
convert $1 -resize 1024x1024 iTunesArtwork@2x.png # App list in iTunes for devices with retina display
convert $1 -resize 512x512 iTunesArtwork.png # Ad Hoc iTunes
convert $1 -resize 180x180 Icon-60@3x.png # Home screen on iPhone 6 Plus
convert $1 -resize 144x144 Icon-72@2x.png # Home screen for "The New iPad"
convert $1 -resize 152x152 Icon-76@2x.png # Home screen on iPad with retina display
convert $1 -resize 120x120 Icon-Small-40@3x.png # Spotlight on iPhone 6 Plus
convert $1 -resize 120x120 Icon-60@2x.png # Home screen on iPhone/iPod Touch with retina display
convert $1 -resize 114x114 Icon@2x.png # Home screen for Retina display iPhone/iPod
convert $1 -resize 87x87 Icon-Small@2x.png # Settings on iPhone 6 Plus
convert $1 -resize 80x80 Icon-Small-40@2x.png # Spotlight on devices with retina display
convert $1 -resize 76x76 Icon-76.png # Home screen on iPad
convert $1 -resize 72x72 Icon-72.png # App Store and Home screen on iPad
convert $1 -resize 58x58 Icon-Small@2x.png # Spotlight and Settings for Retina display
convert $1 -resize 57x57 Icon.png # Home screen on non-Retina iPhone/iPod
convert $1 -resize 50x50 Icon-Small-50.png # Spotlight on iPad 1/2
convert $1 -resize 40x40 Icon-Small-40.png # Spotlight
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
Please install ImageMagick before running this bash script.