Changed behavior of -colorspace?!
Posted: 2015-09-14T15:04:50-07:00
Since years I convert images with alpha channel to the grey scale:
But since some weeks I get an other result as the years before! I see a white corona around my images!
This is the input (a RGBA image with grey colors only):
https://dl.dropboxusercontent.com/u/134 ... /input.png
This is the output with the old versions (looks exactly like the input, but with 256 colors):
https://dl.dropboxusercontent.com/u/134 ... tput_1.png
This is the output with the current version (I see an mysterious white corona, ImageMagick 6.9.2-0 Q16 x86_64 2015-09-11):
https://dl.dropboxusercontent.com/u/134 ... tput_2.png
What is wrong with the new version?
EDIT:
Other simple example: (you see the original png image vs. a screenshot of the gimp preview)
Original (rgba):


Converted with Gimp or with an older version of ImageMagic (8 bit greyscale+alpha):


Converted with current version of ImageMagic 6.9.2 (8 bit greyscale+alpha):


Here you can see the same problem of the sharpened white corona around the blurred edges! It seems the color values are mixed with the alpha values in a wrong way...
Code: Select all
convert input.png -colorspace Gray output.png
This is the input (a RGBA image with grey colors only):
https://dl.dropboxusercontent.com/u/134 ... /input.png
This is the output with the old versions (looks exactly like the input, but with 256 colors):
https://dl.dropboxusercontent.com/u/134 ... tput_1.png
This is the output with the current version (I see an mysterious white corona, ImageMagick 6.9.2-0 Q16 x86_64 2015-09-11):
https://dl.dropboxusercontent.com/u/134 ... tput_2.png
What is wrong with the new version?
EDIT:
Other simple example: (you see the original png image vs. a screenshot of the gimp preview)
Original (rgba):


Converted with Gimp or with an older version of ImageMagic (8 bit greyscale+alpha):


Converted with current version of ImageMagic 6.9.2 (8 bit greyscale+alpha):


Here you can see the same problem of the sharpened white corona around the blurred edges! It seems the color values are mixed with the alpha values in a wrong way...