[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 21:38:38 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 |
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"60246" 60246]:
{{{
#!CommitTicketReference repository="" revision="60246"
Media: fix degraded handling for 24 bit PNG uploads.
Add additional logic to correctly identify indexed PNG images so output
PNGs correctly match the uploaded image depth.
Fix a regression introduced in WordPress 6.8 [59589] where uploaded
Truecolor PNG images (meaning > 8 bit) were mis-identified as indexed (8
bit) images, causing output images to be indexed instead of Truecolor
resulting in a noticeable visual degradation.
Props elvismdev, wildworks, SirLouen, siliconforks, joemcgill,
iamshashank, nosilver4u.
Fixes #63448.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list