Site Sponsors
Results 1 to 11 of 11

Thread: DNG editor to write EXIF data (lens data)?

  1. #1
    Senior Subscriber Member Mike Hatam's Avatar
    Join Date
    Oct 2007
    Location
    Los Gatos, CA
    Posts
    853
    Post Thanks / Like
    Images
    236

    DNG editor to write EXIF data (lens data)?

    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
    Mike Hatam
    Sony A99, RX1, RX100

  2. #2
    Member
    Join Date
    Dec 2007
    Posts
    72
    Post Thanks / Like

    Re: DNG editor to write EXIF data (lens data)?

    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

  3. #3
    Senior Member
    Join Date
    Nov 2007
    Location
    Mexico
    Posts
    525
    Post Thanks / Like
    Images
    2

    Re: DNG editor to write EXIF data (lens data)?

    I know that aperture can do it I just dont know well how.

  4. #4
    Senior Subscriber Member Mike Hatam's Avatar
    Join Date
    Oct 2007
    Location
    Los Gatos, CA
    Posts
    853
    Post Thanks / Like
    Images
    236

    Re: DNG editor to write EXIF data (lens data)?

    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.
    Mike Hatam
    Sony A99, RX1, RX100

  5. #5
    Workshop Member Reynolds's Avatar
    Join Date
    Oct 2007
    Location
    Arlington, VA
    Posts
    206
    Post Thanks / Like
    Images
    24

    Re: DNG editor to write EXIF data (lens data)?

    You're NOT a Mac user? OMG!!
    Best to all,

    Reynolds

  6. #6
    Senior Subscriber Member Mike Hatam's Avatar
    Join Date
    Oct 2007
    Location
    Los Gatos, CA
    Posts
    853
    Post Thanks / Like
    Images
    236

    Re: DNG editor to write EXIF data (lens data)?

    I know, I know... I hang my head in shame...
    Mike Hatam
    Sony A99, RX1, RX100

  7. #7
    rkolewe
    Guest

    Re: DNG editor to write EXIF data (lens data)?

    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

  8. #8
    rkolewe
    Guest

    Re: DNG editor to write EXIF data (lens data)?

    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

  9. #9
    Senior Subscriber Member Mike Hatam's Avatar
    Join Date
    Oct 2007
    Location
    Los Gatos, CA
    Posts
    853
    Post Thanks / Like
    Images
    236

    Re: DNG editor to write EXIF data (lens data)?

    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 by Mike Hatam; 11th October 2009 at 02:22.
    Mike Hatam
    Sony A99, RX1, RX100

  10. #10
    New Member
    Join Date
    Aug 2009
    Posts
    5
    Post Thanks / Like

    Re: DNG editor to write EXIF data (lens data)?

    I'm doing this with ExifTool and the values from the M8 Metadata Guide. For example, for the 90 Macro Elmar:

    Code:
    exiftool -FocalLength=90 -LensType="39 1" -n

  11. #11
    Senior Subscriber Member Mike Hatam's Avatar
    Join Date
    Oct 2007
    Location
    Los Gatos, CA
    Posts
    853
    Post Thanks / Like
    Images
    236

    Re: DNG editor to write EXIF data (lens data)?

    Fantastic - that's exactly what I needed. Thank you Ralph and Ruediger for pointing me in this direction.
    Mike Hatam
    Sony A99, RX1, RX100

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •