[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 Jun 7 17:06:35 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 siliconforks):
Replying to [comment:79 SirLouen]:
> 2. We have not found a mechanism to identify alpha in images to separate
them from non-alpha
Did you ever try using the Imagick `getImageChannelDepth()` method? I've
been experimenting with it and it seems to work for me - see
https://github.com/WordPress/wordpress-develop/pull/8933
(Honestly this PR is getting a bit more complicated than I would like, but
it's mostly just rearranging things to work with the original image before
resizing, rather than after.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:81>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list