[wp-trac] [WordPress Trac] #42128: PNGs lose color space information when resized

WordPress Trac noreply at wordpress.org
Fri Oct 6 21:11:48 UTC 2017


#42128: PNGs lose color space information when resized
--------------------------+-----------------------------
 Reporter:  joemcgill     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42128>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list