ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: elliotnewmam on October 11, 2014, 05:34:57 PM

Title: DNG Color Matrix copy to TIF
Post by: elliotnewmam on October 11, 2014, 05:34:57 PM
Hello, I am trying to copy the following from a DNG to a TIF:

Color Matrix 1
Color Matrix 2
Camera Calibration 1
Camera Calibration 2
As Shot Neutral   

I am running exifTool 9.72 OSX. I followed the -tagsfromfile arg and the FAQ page with the various options such as "-all>exif:all" but I still don't seem to be able to carry these metadata keys and values over from a DNG to a TIF.

Any ideas how I can do this?

Many thanks,
Elliot.
Title: Re: DNG Color Matrix copy to TIF
Post by: Phil Harvey on October 11, 2014, 06:25:34 PM
Hi Elliot,

These are all "unsafe" tags.  See the Tag Name documentation (https://exiftool.org/TagNames/) for details.

- Phil
Title: Re: DNG Color Matrix copy to TIF
Post by: elliotnewmam on October 12, 2014, 04:52:37 AM
Thanks Phil. Congrats on exiftool btw, it's a fantastic resource.

I don't suppose there is a "super user" mode that forces the copy of all metadata regardless of what it might do to the image? I have successfully managed to get the tags copied using:

exiftool -tagsfromfile [in.dng] "-IFD0:AnologBalance" "-IFD0:ColorMatrix1" "-IFD0:ColorMatrix2" "-IFD0:CameraCalibration1" "-IFD0:CameraCalibration2" "-IFD0:AsShotNeutral" "-IFD0:BaselineExposure" "-IFD0:CalibrationIlluminant1" "-IFD0:CalibrationIlluminant2" "-IFD0:ForwardMatrix1" "-IFD0:ForwardMatrix2" [out.tiff]

I am actually trying to get these tags copied into an exr file rather than a tiff, are you aware of any way to do that? I'd love to be able to write to exr using exiftool but I understand this is not supported currently.

Title: Re: DNG Color Matrix copy to TIF
Post by: Phil Harvey on October 12, 2014, 06:16:36 AM
There is no super-user mode via the command line.  But if you are using the API, you can set Protected to 1 in a call to SetNewValuesFromFile().

You're right.  ExifTool doesn't yet support writing EXR images.  Maybe some day.

- Phil