[wp-trac] [WordPress Trac] #63448: Image quality significantly degrades for resized PNGs with transparency in WordPress 6.8.1
WordPress Trac
noreply at wordpress.org
Fri May 23 20:31:52 UTC 2025
#63448: Image quality significantly degrades for resized PNGs with transparency in
WordPress 6.8.1
-------------------------------------------------+-------------------------
Reporter: elvismdev | Owner:
| adamsilverstein
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.8.2
Component: Media | Version: 6.8
Severity: critical | Resolution:
Keywords: has-patch has-test-info dev- | Focuses:
feedback has-unit-tests commit fixed-major |
-------------------------------------------------+-------------------------
Comment (by nosilver4u):
Oh, and by the way, I looked up the difference between `getColorspace` and
`getImageColorspace`, as I was curious also. `getColorspace` returns the
"global colorspace", whereas `getImageColorspace` returns the colorspace
for the current image.
Since @siliconforks' testing seems to indicate the global colorspace is
typically undefined, it makes me think the usage of `getColorspace` within
`quantizeImage` is really just telling ImageMagick to use whatever
colorspace the image already has, in order to avoid hard-coding a
colorspace that might mess up the image.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list