Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: DPX Image Format to TIFF not work?

$
0
0
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
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 space
but with the 12bit converting i have false colors....

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>