Exif data format for K10D

pgweber
Posted 31/10/2008 - 16:05 Link
Dear All,

Does anyone have a listing of the data items and their associated variable types (i.e. ASCII, long, integer, etc) embedded in the jpg files produced by the K10D.

I want to analyse how my photos break down by focal length (& other parameters) which I thought I could do by writing a little programme to read the exif data, but need to know the data structure.

Thanks in advance for any help,
Peter

Pentax K5
Pentax DA 18-55 Mk1, 50-200 (Samsung), 16-45, 55-300 Mk1, 35 f/2.4
Pentax MZ6 + FA28-90, FA50 f/1.4, M 50 f/1.7
Tamron 80-210mm & 28mm
MattMatic
Posted 31/10/2008 - 16:22 Link
The best thing is to download PhotoME
http://www.photome.de/download_en.html

It displays _everything_ inside the EXIF (including camera temperature and serial number!!). AFAIK the data files it uses are XML format - so you can unpick it.

You'll have fun reading EXIF tags - there are such a huge number!
There are also plenty of freeware tools and libraries for EXIF reading anyway - so do a Google before you start coding

Hope that helps!
Matt
http://www.mattmatic.co.uk
(For gallery, tips and links)
pgweber
Posted 31/10/2008 - 16:32 Link
Thanks Matt,

I have down-loaded PhotoME and seen some of the data available.

I am trying to look at all of my photos of one particular type of subject, to see if the focal lengths I have used are covered by a possible new lens purchase.

The number of photos is too large to contemplate opening each in PhotoME, so I am thinking of going the programming route to automate/speed-up the analysis (and I like a computing challenge now and again).

Regards,

Peter
Peter

Pentax K5
Pentax DA 18-55 Mk1, 50-200 (Samsung), 16-45, 55-300 Mk1, 35 f/2.4
Pentax MZ6 + FA28-90, FA50 f/1.4, M 50 f/1.7
Tamron 80-210mm & 28mm
MattMatic
Posted 31/10/2008 - 17:16 Link
No problem Peter.
It's almost certainly all done for you. Check out these links:
http://www.suodenjoki.dk/us/archive/2008/extract-exif.htm (with Javascript)
http://www.br-software.com/extracter.html (extracts info to CSV file)
http://sourceforge.net/projects/libexif (developer library)
http://www.instituteofthefuture.org/exifomatic/ (Java one)
http://www.kuren.org/exif/ (C++ source code)

That should get you started
Others are listed here.

Have fun!
Matt

PS. Or in true Pentax LBA style... just buy the lens!
http://www.mattmatic.co.uk
(For gallery, tips and links)
screwdriver
Posted 31/10/2008 - 20:59 Link
PS CS4 can filter by any/all the EXIF data, by default it shows Focal length (thats the actual focal length selected if using a zoom), Aperture, White balance, Exposure time, Colour profile and the Raw converter settings (if named and saved). Any EXIF parameter can be added/removed to/from the list.

I wouldn't be surprised if CS3 and even CS2 can do this too, I have never checked, you could write a script to do it any version of Bridge (I believe) - well a better man than I probably could, but its default in the CS4 version of Bridge.

Chris
Chris

Add Comment

To leave a comment - Log in to Pentax User or create a new account.



Proudly supporting Pentax User

Samsung Logo Asahi Pentax Logo