ExifTool Forum

ExifTool => Developers => Topic started by: kenon on September 15, 2016, 05:35:28 AM

Title: Writing Maker Notes correctly
Post by: kenon on September 15, 2016, 05:35:28 AM
This is probably a strange one as it is not directly about ExifTool, but bare with me.

I am currently writing EXIF functionality using libexif and have done all the standard tags which I test using exifTool. I am now onto to some non standard tags that I am going to put in as maker notes.

Are there any guidelines as to how best to insert the maker notes so that exifTool will be able to process it automatically? I see a few complaints about how certain programs/camera manufacturers write their maker notes and I am trying to avoid falling into the same traps.

Title: Re: Writing Maker Notes correctly
Post by: Phil Harvey on September 15, 2016, 07:32:03 AM
I recommend writing an 8-byte signature followed by a standard TIFF header and the maker notes TIFF format with offsets relative to the start of the TIFF header.  ExifTool will be able to read this with the -u option if the byte order is the same as the rest of the EXIF.

Doing it this way make it relocatable, so it won't get messed up by other editors.

- Phil
Title: Re: Writing Maker Notes correctly
Post by: kenon on September 15, 2016, 10:17:12 AM
Grand. Will do.

Cheers for the tips.

Ken