[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
Thu May 22 22:57:28 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: closed
Priority: normal | Milestone: 6.8.2
Component: Media | Version: 6.8
Severity: critical | Resolution: fixed
Keywords: has-patch has-test-info dev- | Focuses:
feedback has-unit-tests commit |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:57 nosilver4u]:
> @adamsilverstein No problem, I should have put my comments directly here
instead of on the pull request! Agreed that we already have an improved
solution, but would like to see quantizeImage() added back in to avoid
regressions on indexed PNG images.
I'm going to test this now, thing is that I found the png8 operation thing
completely by chance. I got the exact same results in one of the images of
the unit-tests and then I inferred (maybe wrongly) that png8 was actually
doing a quantization in the background. I have not been able to find the
source code of this imagick function to know what is been done behind the
scenes, ngl.
Btw, I recommend you to post in Trac for comments and use github
exclusively for code reviews, because gh integration with Trac is
sometimes buggy (messages don't show in Trac for some reason).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:58>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list