Import extracted opcodelist3 binary data back into DNG

Started by tajino, January 04, 2020, 10:52:19 AM

Previous topic - Next topic

tajino

Hi, I'm trying to import the extracted opcodelist3 binary data file back into a DNG file, I've tried many ways but just couldn't figure it out.

The opcodelist3 binary data is extracted with :
exiftool -IFD0:opcodelist3 test.DNG -b -w test.bin

I then clear the opcodelist3 tag in the DNG file with :
exiftool -IFD0:opcodelist3= -overwrite_original test.DNG

All is good, confirmed that the opcodelist3 tag is no longer in the DNG
Now, how do it import the test.bin binary data back into the DNG as IFD0:opcodelist3 tag? I tried :

exiftool "-IFD0:opcodelist3<=test.bin" -overwrite_original test.DNG

got this error :
Can't convert value for IFD0:OpcodeList3 (no PrintConvInv)
Warning: Can't convert value for IFD0:OpcodeList3 (no PrintConvInv)
Nothing to do.


Any help would be appreciated, thanks!

Edit:

Reverted to the older exiftool 11.15, the same  command works
exiftool "-IFD0:opcodelist3<=test.bin" -overwrite_original test.DNG
But 11.81 gave the error, I wonder what am I missing here.

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).