The GetDPI Photography Forum

Great to see you here. Join our insightful photographic forum today and start tapping into a huge wealth of photographic knowledge. Completing our simple registration process will allow you to gain access to exclusive content, add your own topics and posts, share your work and connect with other members through your own private inbox! And don’t forget to say hi!

DNG editor to write EXIF data (lens data)?

Mike Hatam

Senior Subscriber Member
Does anyone know a way to edit a DNG file from an M9 (or M8) to either edit or add (if it's not already there) the correct lens data into the EXIF?

I'd like to have the correct lens info in the EXIF in my image library for easy searches and look-ups.

Mike
 

sandymc

New member
Mike,

CornerFix can do that for M8 images "automagically" - it picks up the MakerNote data, and transfers it to the EXIF. M9 not supported yet, but once Carl Brettville decodes the new MakerNote format, it will probably be able to do so as well.

Alternatively, something like Photo Mechanic will probably do the trick: http://www.camerabits.com/site/index.html

Sandy
 

Mike Hatam

Senior Subscriber Member
Thanks Sandy and Gero. I don't use Aperture (I'm a PC user, not Mac). I'll look into Photo Mechanic, but didn't know that it works with DNG.
 
R

rkolewe

Guest
You could use Phil Harvey's ExifTool (http://www.sno.phy.queensu.ca/~phil/exiftool/ ) to set the lens metadata directly. ExifTool version 7.94 or later understands the M9 maker notes so it wouldn't be too hard to write a script to extract the lens info from the maker notes and write it into the exif lens tag.

Cheers

Ralph Kolewe
 
R

rkolewe

Guest
Looking a bit closer at ExifTool it can do this without having to write a script. The command line to copy the maker note to the standard exif tag is

exiftool '-LensType>-Lens' SomeM9ImageFile.dng

Note the single quotes. Should work for M8 files too, I think.

Cheers

Ralph Kolewe
 

Mike Hatam

Senior Subscriber Member
Thanks Ralph for this explanation. This could be a useful tool.

The situation I'm describing is where there no maker notes with lens info, or the maker notes are incorrect (camera set to manual, with wrong lens selected).

Any ideas on how to modify the lens info when it either doesn't exist or is incorrect?

Mike

EDIT: I'm looking into the EXIFTOOL documentation now to see if I can find a way to do this...
 
Last edited:

Mike Hatam

Senior Subscriber Member
Fantastic - that's exactly what I needed. Thank you Ralph and Ruediger for pointing me in this direction.
 
Top