Installing On OS-X

brew update && brew upgrade
brew install imagemagick

Example usage

convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \
  -draw "text 25,60 'Magick'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \ 
  -draw "text 20,55 'Magick'" fuzzy-magick.png

convert -size 250x250 musical_symbol_g_clef.svg x.png

http://www.fileformat.info/info/unicode/char/1d11e/index.htm is musical_symbol_g_clef.svg

Also: http://www.fileformat.info/info/unicode/block/musical_symbols/index.htm

Imagemagick URLs

  • http://www.imagemagick.org/Usage/channels/#mask_creation « Good [Masks etc]
  • http://www.fmwconcepts.com/imagemagick/tidbits/index.php « Good
  • http://www.fmwconcepts.com/imagemagick/tidbits/image.php
  • http://www.fmwconcepts.com/imagemagick/
  • http://sun.cs.lsus.edu/~rmabry/math/rmabry/imagemagick/multireplace/
  • http://studio.imagemagick.org/pipermail/magick-users/2006-May/017672.html
  • http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=10430&p=32965

Create iOS Icons

Apart from iTunesArtwork & iTunesArtwork@2, the names of the icons no longer matter as they are saved as AppIcon as part of Assets.xcassets these days.

Via ./create_ios_icons.sh

List of required iOS Icons

Name

Size (px)

Usage

Icon-Small.png

29x29

iPad Settings

Icon-Small@2x.png

58x58

iPhone Settings, iPad Settings for Retina display

Icon-Small@3x.png

87x87

iPhone Settings for Retina display

Icon-40.png

40x40

iPad Spotlight results

Icon-40@2x.png

80x80

iPhone Spotlight results, iPad Spotlight results for retina display

Icon-40@3x.png

120x120

iPhone Spotlight results for retina display
for iPhone 6s, iPhone 6, and iPhone 5 (@2x)

Icon-60@2x.png

120x120

iPhone App Icon
for iPhone 4s (@2x)

Icon-60@3x.png

180x180

iPhone App Icon for Retina display
for iPhone 6s Plus and iPhone 6 Plus (@3x)

Icon-76.png

76x76

iPad App Icon

Icon-76@2x.png

152x152

iPad App Icon for Retina display
for iPad and iPad mini (@2x)

Icon-83.5@2x.png

167x167

iPad Pro App Icon for Retina display (@2x)

Icon-120.png

120x120

CarPlay App Icon

iTunesArtwork.png

512x512

App Submission

iTunesArtwork@2x.png

1024x1024

App Submission

Note

Apps distributed via ad-hoc distribution may also include a 512 x 512 pixel version of their icon in the CFBundleIconskey. The name of this file must be iTunesArtwork (with no file extension). The high resolution version of this icon should be 1024 x 1024 pixels and have the name iTunesArtwork@2x (also without file extension). Do not include this icon in your app bundle if you are not distributing your app via ad-hoc distribution.


convert -size 320x85 xc:transparent -font Bookman-DemiItalic -pointsize 72 \
  -draw "text 25,60 'Magick'" -channel RGBA -blur 0x6 -fill darkred -stroke magenta \ 
  -draw "text 20,55 'Magick'" fuzzy-magick.png

convert -size 250x250 musical_symbol_g_clef.svg x.png
convert -background lightblue -fill blue  -font Helvetica -size 160x160 label:A  -trim  a.jpg
convert -background red a.jpg  -gravity center -extent 160x160 a_.jpg

What we did was:

convert -background lightblue -fill blue  -font Helvetica -size 160x160 label:A  -trim  temp.jpg
convert -background red temp.jpg  -gravity center -extent 160x160 a.jpg
display a.jpg

http://www.fileformat.info/info/unicode/char/1d11e/index.htm is musical_symbol_g_clef.svg Also: http://www.fileformat.info/info/unicode/block/musical_symbols/index.htm

convert -background lightblue -fill blue  -font Candice -size 165x70 -gravity center label:Anthony     label_size_gravity.gif`

URLs

http://www.imagemagick.org/Usage/channels/#mask_creation << Good [Masks etc]
http://www.fmwconcepts.com/imagemagick/tidbits/index.php << Good
http://www.fmwconcepts.com/imagemagick/tidbits/image.php
http://www.fmwconcepts.com/imagemagick/
http://sun.cs.lsus.edu/~rmabry/math/rmabry/imagemagick/multireplace/
http://studio.imagemagick.org/pipermail/magick-users/2006-May/017672.html
http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=10430&p=32965`

Image Overlays

rem
rem ToDo: Get the sizes right for a 96x96 pixel image
rem
rem convert folder.jpg -gravity NorthWest overlays/popupnew.png -gravity South overlays/2.5.png -compose ATop -composite out-ATop.1.jpg
rem convert folder.jpg -gravity NorthEast  overlays/popupnew.png -compose ATop -composite folder-gravity.NE.jpg

convert overlays/folder.jpg -resize 96x96 folder.jpg

convert folder.jpg -gravity NorthWest overlays/popupnew.png -compose ATop -composite folder.new.png

convert folder.new.png -gravity South overlays/2.5.png -compose ATop -composite folder.new.2.5.png

rem
rem    ALL PREVIOUS ARE PNG ---- only this one is Jpeg <<<<< **** <<<<<
rem
convert folder.new.2.5.png -gravity NorthEast overlays/tag_blue.png -compose ATop -composite folder.new.2.5.tagged.jpg`