Skip to content

Instantly share code, notes, and snippets.

@yatatsu
Created September 22, 2014 09:02
Show Gist options
  • Select an option

  • Save yatatsu/9196e845d1e1fd4c39b2 to your computer and use it in GitHub Desktop.

Select an option

Save yatatsu/9196e845d1e1fd4c39b2 to your computer and use it in GitHub Desktop.
#!/bin/sh
# According to https://developer.apple.com/LIBRARY/PRERELEASE/IOS/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html
# And Referring to https://gist.github.com/lexrus/1984984
convert $1 -resize 180x180 AppIcon@3x.png
convert $1 -resize 120x120 AppIcon@2x.png
convert $1 -resize 152x152 AppIcon-iPad@2x.png
convert $1 -resize 76x76 AppIcon-iPad@1x.png
convert $1 -resize 120x120 Spotlight@3x.png
convert $1 -resize 80x80 Spotlight@2x.png
convert $1 -resize 40x40 Spotlight@1x.png
convert $1 -resize 87x87 Setting@3x.png
convert $1 -resize 58x58 Setting@2x.png
convert $1 -resize 29x29 Setting@1x.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment