[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
Sat May 24 16:22: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: 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 SirLouen):
Replying to [comment:66 nosilver4u]:
> Here is the test script I wrote way back to illustrate this issue:
This is the result using this script for the grayscale alpha image that
@siliconforks provided
[[Image(https://i.imgur.com/1IPJdJs.png)]]
Also for the rabbit example these are my results:
{{{
Initial file info:
Size of rabbit-time-paletted-or8.png is 200581 bytes
Pixel depth of rabbit-time-paletted-or8.png is 8
Color type of rabbit-time-paletted-or8.png is 3
Final file info:
Size of rabbit-time-paletted-or8.png-mod.png is 213153 bytes
Pixel depth of rabbit-time-paletted-or8.png-mod.png is 8
Color type of rabbit-time-paletted-or8.png-mod.png is 6
}}}
It grows in size, and the color type goes from 3 (indexed?) to 6 RGBA
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:70>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list