convert -strip fails when wrong sRGB profile
Posted: 2014-06-26T07:49:56-07:00
Not sure if this is a bug.
https://github.com/Faster3ck/Converseen ... erseen.png
Actually, it doesn't fail, it only returns false:
If I understand correctly, sRGB profile should be removed during -strip, so the command should return 0, am I correct? Second round works:
By the way, display renders the original converseen.png image, despite the warning.
Thanks!
https://github.com/Faster3ck/Converseen ... erseen.png
Actually, it doesn't fail, it only returns false:
Code: Select all
$ convert converseen.png -strip converseen-stripped.png
Magick: iCCP: known incorrect sRGB profile `converseen.png' @ warning/png.c/MagickPNGWarningHandler/1832.
$ echo $?
1
Code: Select all
$ convert converseen-stripped.png -strip converseen-stripped2.png
$ echo $?
0
Thanks!