# Meta\_data from Raw Image files and \*.psd files

**URL:** <https://www.ruby-forum.com/t/meta-data-from-raw-image-files-and-psd-files/196738>\
**Category:** Ruby\
**Created:** [July 7, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/meta-data-from-raw-image-files-and-psd-files/196738 "2008-07-07T19:29:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [July 7, 2008, 7:29pm UTC](https://www.ruby-forum.com/t/meta-data-from-raw-image-files-and-psd-files/196738/1 "2008-07-07T19:29:35Z")

</div>

Hi

I am needing to extract metadata from image files primarily canon _.CR2  
and  
photoshop_.psd files so I can use the metadata in a mysql database.

Does anyone know of any available routines to help with the task… I  
would  
rather not have to reinvent the wheel (beside I am lazy ).

David

---

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [July 10, 2008, 5:28am UTC](https://www.ruby-forum.com/t/meta-data-from-raw-image-files-and-psd-files/196738/2 "2008-07-10T05:28:22Z")

</div>

I’m not sure about the canons, but on my nikon I can grab the meta  
data from the jpeg thumbnail from my nef images (nikon’s raw file).  
It doesn’t give me everything mind you, but it does have a fair amount  
of data. I can’t recall the name of the program I was using to grab  
the info with, jpeginfo might actually be it…

–Kyle

---

<div class="post-metadata">

**Author:** ![davidstokar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/4da419/32.png) [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Post date:** [July 10, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/meta-data-from-raw-image-files-and-psd-files/196738/3 "2008-07-10T13:55:54Z")

</div>

> I am needing to extract metadata from image files primarily canon _.CR2  
> and photoshop_.psd files so I can use the metadata in a mysql database.  
> Have a look at MiniExiftool. 🙂  
> [https://rubyforge.org/projects/miniexiftool](https://rubyforge.org/projects/miniexiftool)  
> [http://miniexiftool.rubyforge.org](http://miniexiftool.rubyforge.org)  
> [http://miniexiftool.rubyforge.org/files/Tutorial.html](http://miniexiftool.rubyforge.org/files/Tutorial.html)

Regards  
Jan F.
