Opened 7 years ago
Last modified 7 years ago
#42128 new defect (bug)
PNGs lose color space information when resized
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | needs-patch |
Focuses: | Cc: |
Description
In cases where a PNG image is RGB but contains no color pixels, ImageMagick is converting the image to a gray color model during resizing, which makes the image look dark and blocky.
I'm uploading a few of original example images, saved as both PNG8 and PNG24 and one without an alpha channel.
Based on these examples, this seems to only affect PNG images and transparency doesn't seem to matter.
Attachments (4)
Change History (6)
#1
follow-up:
↓ 2
@
7 years ago
I did some testing with this and was not able to recreate this issue in ImageMagick Version ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31
. I was able to recreate the issuse in ImageMagick Version ImageMagick 6.7.7-10 2017-07-31 Q16
.
#2
in reply to:
↑ 1
@
7 years ago
Replying to yingling017:
I did some testing with this and was not able to recreate this issue in ImageMagick Version
ImageMagick 6.8.9-9 Q16 x86_64 2017-07-31
. I was able to recreate the issuse in ImageMagick VersionImageMagick 6.7.7-10 2017-07-31 Q16
.
Thanks @yingling017, confirming that I was testing using ImageMagick 6.7.7-10 2017-02-22 Q16
so this may very well be an ImageMagick bug.
PNG 24 no alpha