[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
Tue Jul 8 17:32:53 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.9
Component: Media | Version: 6.8
Severity: normal | Resolution:
Keywords: has-patch has-test-info has-unit- | Focuses:
tests needs-dev-note dev-feedback changes- |
requested |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:96 adamsilverstein]:
> I left some feedback on the PR (mostly asking to remove the new
variables and put the conditionals back inline into the logic flow) and
there is one outstanding discussion there already that still needs to be
reviewed by @siliconforks.
Ngl, but I like the clarity that separating conditionals from the flow
provide under such convoluted number of logic that must be considered to
get the best result possible. We can easily forget on why someone chose
this since it's very tempting to be easily simplified (as I originally
thought in my first PR).
Now we have a couple additional unit tests, but there are some aesthetic
degradations while maintaining the same properties as @siliconforks is
pointing out, that we cannot handle through tests like the grayscale
colorspace.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63448#comment:98>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list