[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Date Photo Taken image property in Jpegs?

Tim Hunter

4/18/2007 12:12:00 PM

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_exi...),
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/min...) might be a better choice.


--
Posted via http://www.ruby-....