From: Tim Hunter Date: 2007-04-18T21:12:25+09:00 Subject: Re: Date Photo Taken image property in Jpegs? Nic Daniau wrote: > Hi, > > I'm writing a utility which must be capable of processing embedded > property values (metadata) that some digital cameras add to the Jpeg > photos they produce, like for instance the Date Photo > Taken, Camera Model, Focal Length, ISO Speed, Exposure Time, etc. > These are the properties you see on Windows when you right-click > > Properties > Summary tab > Advanced. > > I'm writing it primarily for Windows, so I'm not fussy about using/ > writing a library that is platform specific. Can someone point me in > the direction? Couldn't find anything in RMagick but I'm very new to > the topic so I might be wrong. Thanks! > > Nic RMagick has get_exif_by_entry (http://www.simplesystems.org/RMagick/doc/image2.html#get_exif_by_entry), which will return the EXIF data from a JPEG. If getting metadata all you want to do then the miniexiftool library (http://rubyforge.org/projects/miniexiftool/) might be a better choice. -- Posted via http://www.ruby-forum.com/.