ohh i see, when i add the 12bit convert option the the tif file is ok....
but with the 12bit convert something other happend :)
beside the 12bit convert i make a colorspace change to DCI XYZ space with this matrix
but with the 12bit converting i have false colors....
but with the 12bit convert something other happend :)
beside the 12bit convert i make a colorspace change to DCI XYZ space with this matrix
Dim matrix As New ColorMatrix(4)
matrix(0, 0) = 0.4124564
matrix(1, 0) = 0.3575761
matrix(2, 0) = 0.1804375
matrix(0, 1) = 0.2126729
matrix(1, 1) = 0.7151522
matrix(2, 1) = 0.072175
matrix(0, 2) = 0.0193339
matrix(1, 2) = 0.119192
matrix(2, 2) = 0.9503041
Using image As New MagickImage("test.dpx")
image.AddProfile(ColorProfile.SRGB)
image.Gamma(0.454545)
image.ColorMatrix(matrix)
image.Gamma(2.6)
image.BitDepth(Channels.Composite, 12)
image.Write("c:\test.tif")
End Using
without converting to 12bit (with a other source file bmp/tif 8bit) the colors are correct for the XYZ spacebut with the 12bit converting i have false colors....