Exiftool utility and changing of color matrix - RAW Shooting and Processing - CHDK Forum supplierdeeply

Exiftool utility and changing of color matrix

  • 1 Replies
  • 4054 Views
*

Offline vit40

  • ****
  • 276
Exiftool utility and changing of color matrix
« on: 21 / June / 2010, 06:22:23 »
Advertisements
As some of you probably remember, a while ago I written a small utility called DngSetMatrix, which could be used to change color matrix in dng files. It was because color calibration for some cameras was a bit off ...

In the meantime, Dng4Ps program got possibility to customize color matrix, so this is utility isn't of much importance. Anyway, it could happen that you have some old dngs with wrong matrices or so

As there is a magnificent utility called Exiftool, by Phil Harvey, a dropped Phil a line on his forum, if he could enable writing of color matrix tag in dng with exiftool (it was disabled). He responded very quickly, so the last version, dated 20.june, has a possibility to write color matrices. Syntax is:

exiftool.exe -ColorMatrix1="n1 n2 n3 n4 n5 n6 n7 n8 n9" filename
exiftool.exe -ColorMatrix2="n1 n2 n3 n4 n5 n6 n7 n8 n9" filename
exiftool.exe -ForwardMatrix1="n1 n2 n3 n4 n5 n6 n7 n8 n9" filename
exiftool.exe -ForwardMatrix2="n1 n2 n3 n4 n5 n6 n7 n8 n9" filename

where n1..n9 are coefficents of the corresponding matrix
It is also possible to combine several parameters in the single line, like

exiftool.exe -ColorMatrix1="n1 n2 n3 n4 n5 n6 n7 n8 n9"  -ColorMatrix2="n1 n2 n3 n4 n5 n6 n7 n8 n9" filename

etc ...


Thanks Phil for quick answering





*

Offline fe50

  • ******
  • 3134
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Exiftool utility and changing of color matrix
« Reply #1 on: 22 / June / 2010, 00:38:59 »
Thanks vit40 for the tool & your work !

 

Related Topics