"Steve Goodman" on  wrote...
| How do I use ImageMagick to read the date the photo was taken from exif data
| and add it to the actual pixels of the photo?
| 
| I want to be able to run a batch script on a large number of files that
| reads the date from each file and then prints that date onto the actual
| picture, either by overlaying it onto the actual photo, or by adding a
| caption underneath or above the photo.
| 
| So manually typing in the label text is not what the goal. I want the label
| text to be read from the exif data.
| 

   convert image.jpg -gravity SouthWest \
           -annotate +10+10 '%[exif:DateTime]' x:

See IM Examples  EXIF Metadata
   http://imagemagick.org/Usage/photos/#exif

For better annotation see IM Examples, Annotation
   http://imagemagick.org/Usage/annotating/

For other 'percent escapes' see
   http://www.imagemagick.org/script/escape.php


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    Ok, pop quiz.  There's a server on a bus.  It's rigged to blow
    if it drops below 50 transaction per second.  What do you do?
                         --- WWW-Speed Home Page -- Simon Spero ([EMAIL 
PROTECTED])
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to