[magick-developers] adding exif information

Jonathan Howland jhowland at whoi.edu
Wed Mar 5 09:45:01 PST 2008


I am trying to add exif info to a jpeg file.  Looking at the docs, I 
implemented code like this:

Image image(width,height, "RGB", CharPixel, imageData);
image.attribute("EXIF:ImageDescription",eData);
       
 image.write(fileName);

where eData is a character string.  When I try and read the resulting 
exif tags from the image, I get a notation that there are no exif 
tags--ThumbsPlus can't read exif info either, etc.  Am I doing something 
wrong, or do I need a better reader?

thanks

Jonathan Howland

-- 
Jonathan Howland
Senior Engineer

Deep Submergence Laboratory
Woods Hole Oceanographic Institution
MS 7 Challenger Drive
Woods Hole, MA  02543

jhowland at whoi.edu
Ph:  (508)289-2653





More information about the Magick-developers mailing list