Image-ExifTool - Re: Copy only makernotes from cr2 to jpeg

Posted on Sun Jul 16 15:02:18 2006 by exiftool in response to 2628 (See the whole thread of 3)
Re: Copy only makernotes from cr2 to jpeg
This is a bit tricky, so I'm not surprised you are having problems.

Writing "MakerNotes:All" writes the individual makernotes values, but the makernotes IFD (the block of MakerNotes information) is itself not a MakerNotes tag because it is written to the ExifIFD, not the MakerNotes IFD. (I hope this makes sense.) So if you want to write just the maker notes, you have to write that single ExifIFD tag.

Another complication is that this tag is named differently for each manufacturer (see the EXIF Tags documentation). So in your case you need to write "MakerNoteCanon".

To further complicate things, this won't work for a general image because in order to identify the maker notes as being "MakerNoteCanon", the Make and Model must be set correctly in the destination image. So to be sure this is right, you should also copy the Make and Model tags unless you know they are already correct. ie)

exiftool -tagsfromfile x.CR2 -makernotecanon -make -model x.jpg

(Notice that I didn't need to use "-makernotecanon>makernotecanon" because the ">TAG" is only necessary if you are redirecting the tag information to a tag of a different name.)

This should do what you want. Let me know if any of this is unclear.

- Phil
Direct Responses: 2631 | Write a response