DNG Color Matrix copy to TIF

Started by elliotnewmam, October 11, 2014, 05:34:57 PM

Previous topic - Next topic

elliotnewmam

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.

Phil Harvey

Hi Elliot,

These are all "unsafe" tags.  See the Tag Name documentation for details.

- Phil
...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 ($).

elliotnewmam

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.


Phil Harvey

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
...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 ($).