Page 2 of 2
Re: Read a grayscale png.
Posted: 2015-05-20T03:03:29-07:00
by wizard29
But conversion to the
srgb.icm works incorrect.
"convert.exe grayscale.png -profile srgb.icm grayscale1.png"
grayscale1.png is totally white.
"convert.exe grayscale.jpg -profile srgb.icm grayscale1.png"
grayscale1.png is expected result.
Re: Read a grayscale png.
Posted: 2015-05-20T03:14:10-07:00
by wizard29
O, sorry I am wrong. The "convert.exe grayscale.png -profile sRGB.icc grayscale1.png" gives the wrong result as well.
Re: Read a grayscale png.
Posted: 2015-05-20T03:19:19-07:00
by wizard29
I don't understand. Why is the same case in the IM "6,9,0,7" works as expected?
Re: Read a grayscale png.
Posted: 2015-05-20T07:43:16-07:00
by wizard29
How do I workaround this behaviour?
Re: Read a grayscale png.
Posted: 2015-05-22T19:46:17-07:00
by fmw42
Grayscale image were treated as linear in some versions of IM. Upgrade to the current version and see if that fixes your issue. see,
viewtopic.php?f=4&t=21269
Re: Read a grayscale png.
Posted: 2015-06-04T11:19:53-07:00
by albertisi
How is the bit depth on that grayscale.png ?
Before and after conversion ?