mhh,
i have test it, but i got the same result (false colors)
i have test it, but i got the same result (false colors)
Dim matrix As New ColorMatrix(3)
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(input)
image.AddProfile(ColorProfile.SRGB)
image.BitDepth(Channels.Composite, 12)
image.Gamma(0.454544)
image.ColorMatrix(matrix)
image.Gamma(2.6)
image.Write(output)
End Using