Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- base=$1
- # App list in iTunes (do not include)
- convert "$base" -resize '512x512' -unsharp 1x4 "iTunesArtWork.png"
- convert "$base" -resize '1024x1024' -unsharp 1x4 "iTunesArtwork@2x.png"
- # Home screen on iPhone/iPod Touch with retina display
- convert "$base" -resize '120x120' "Icon-60@2x.png"
- # Home screen on iPhone with retina HD display
- convert "$base" -resize '180x180' "Icon-60@3x.png"
- # Home screen on iPad
- convert "$base" -resize '76x76' -unsharp 1x4 "Icon-76.png"
- # Home screen on iPad with retina display
- convert "$base" -resize '152x152' -unsharp 1x4 "Icon-76@2x.png"
- # Home screen on iPad Pro
- convert "$base" -resize '167x167' -unsharp 1x4 "Icon-83.5@2x.png"
- # Spotlight
- convert "$base" -resize '40x40' -unsharp 1x4 "Icon-Small-40.png"
- # Spotlight on devices with retina display
- convert "$base" -resize '80x80' -unsharp 1x4 "Icon-Small-40@2x.png"
- # Spotlight on devices with retina HD display
- convert "$base" -resize '120x120' -unsharp 1x4 "Icon-Small-40@3x.png"
- # Settings
- convert "$base" -resize '29x29' -unsharp 1x4 "Icon-Small.png"
- # Settings on devices with retina display
- convert "$base" -resize '58x58' -unsharp 1x4 "Icon-Small@2x.png"
- # Settings on devices with retina HD display
- convert "$base" -resize '87x87' -unsharp 1x4 "Icon-Small@3x.png"
- # Notifications on iPad
- convert "$base" -resize '20x20' -unsharp 1x4 "Icon-Notification.png"
- # Notifications on devices with retina HD display
- convert "$base" -resize '60x60' -unsharp 1x4 "Icon-Notification@3x.png"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement