No text when annotating images with ImageMagick

If for some strange reason you don’t see any text, even when applying correct command, then you probably missing required font. To find out this, replace final image with info:.
Example:

convert dsc01377.jpg -font Courier -size 20 -draw "gravity south fill black  text 10,12 'text' fill white  text 11,11 'text' " info:

If you’ll see something like:

convert: unable to read font `/usr/share/fonts/type1/gsfonts/n022003l.pfb'.

– go ahead and install missing font.
I wonder why ImageMagick doesn’t dump this warning to stderr.

Tags:

AddThis Social Bookmark Button

Leave a Reply