Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
mogrify -font verdana.ttf -pointsize 16 -draw \"gravity SouthWest fill white text 0,0 '%[EXIF:DateTimeOriginal]'\" sunflower.jpg
NOTE:
1/ I have used a font I have uploaded to the same folder verdana.ttf
2/ Mogrify will overwrite the original image.
3/ Text 0,0 will not offset the text from the position stated in gravity; if you want it moved add a value to 0,0.
Up until IM version 6.2.4, the '%' character was used as an escape character to include extra image information in the drawn text string. This is no longer the case as such escapes were confusing and incorrect when SVG images also tried to draw percent characters.
The solution is to use -annotate which does understand % escapes, and was added for that reason. It also does NOT have quote within quotes issues.