Closed AmedeeBulle closed 2 years ago
Thank you. There was a missing [0]
, as you noted. I've added a test to ensure code in the README executes as expected.
And, yes, your example is a correct way to add the EXIF IFD.
I should make it optional to populate the path_or_fobj
field -- if the ifd doesn't contain byte offset records that need to be copied from a source file, it isn't actually used.
Running the sample code from the readme file gives:
it seems that we are missing level for exifs (SubIDF?).
The following does works:
Side note: the above code will fail if the TIFF file doesn't already contains EXIFs. Is the following snippet the correct way to add EXIF IFD?