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.
Read a grayscale png.
-
- Posts: 58
- Joined: 2014-03-21T00:40:16-07:00
- Authentication code: 6789
- Location: Russia, Saint Petersburg
- Contact:
Re: Read a grayscale png.
O, sorry I am wrong. The "convert.exe grayscale.png -profile sRGB.icc grayscale1.png" gives the wrong result as well.
-
- Posts: 58
- Joined: 2014-03-21T00:40:16-07:00
- Authentication code: 6789
- Location: Russia, Saint Petersburg
- Contact:
Re: Read a grayscale png.
I don't understand. Why is the same case in the IM "6,9,0,7" works as expected?
-
- Posts: 58
- Joined: 2014-03-21T00:40:16-07:00
- Authentication code: 6789
- Location: Russia, Saint Petersburg
- Contact:
Re: Read a grayscale png.
How do I workaround this behaviour?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Read a grayscale png.
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.
How is the bit depth on that grayscale.png ?
Before and after conversion ?
Before and after conversion ?