# Date Photo Taken image property in Jpegs?

**URL:** <https://www.ruby-forum.com/t/date-photo-taken-image-property-in-jpegs/92334>\
**Category:** Ruby\
**Created:** [April 18, 2007, 11:19am UTC](https://www.ruby-forum.com/t/date-photo-taken-image-property-in-jpegs/92334 "2007-04-18T11:19:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nic\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/839c29/32.png) [@Nic\_D](https://www.ruby-forum.com/u/Nic_D)\
**Post date:** [April 18, 2007, 11:19am UTC](https://www.ruby-forum.com/t/date-photo-taken-image-property-in-jpegs/92334/1 "2007-04-18T11:19:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nic\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/839c29/32.png) [@Nic\_D](https://www.ruby-forum.com/u/Nic_D)\
**Post date:** [April 18, 2007, 11:31am UTC](https://www.ruby-forum.com/t/date-photo-taken-image-property-in-jpegs/92334/2 "2007-04-18T11:31:24Z")

</div>

Nic D. wrote:

> 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

EXIF libraries:

[http://rubyforge.org/search/?type\_of\_search=soft&words=exif&Search=Search](http://rubyforge.org/search/?type_of_search=soft&words=exif&Search=Search)

–  
Phillip “CynicalRyan” Gawlowski  
[http://cynicalryan.110mb.com/](http://cynicalryan.110mb.com/)  
[http://clothred.rubyforge.org](http://clothred.rubyforge.org)

Eek! That was supposed to be My Special Law, _MY_ special law, I tell  
you!

T/

---

<div class="post-metadata">

**Author:** ![Nic\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/839c29/32.png) [@Nic\_D](https://www.ruby-forum.com/u/Nic_D)\
**Post date:** [April 18, 2007, 2:12pm UTC](https://www.ruby-forum.com/t/date-photo-taken-image-property-in-jpegs/92334/3 "2007-04-18T14:12:23Z")

</div>

Nic D. 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  
([RMagick 1.15.0: class Image (instance methods, part 2)](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/](http://rubyforge.org/projects/miniexiftool/)) might be a better choice.
