[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:10:48 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 adamsilverstein):
> I would be inclined to just change the line $this->image->setOption(
'png:format', 'png8' ) to use quantizeImage instead, and then simply not
worry about the issue with the test8.png image (i.e., just remove that
test from the test suite). I just think that it's a pretty marginal edge
case issue
That makes sense to me if `test8.png` is truly an edge case image and all
other issues are resolved with this approach. Curious to hear what others
on the threat feel about this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list