[wp-trac] [WordPress Trac] #36477: Responsive images (srcset) can include images larger than the full size
WordPress Trac
noreply at wordpress.org
Thu Jun 13 10:08:22 UTC 2024
#36477: Responsive images (srcset) can include images larger than the full size
-------------------------------------------------+-------------------------
Reporter: peterdavehello | Owner:
| adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 4.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback has-unit-tests | performance
-------------------------------------------------+-------------------------
Comment (by tb1909):
Test report with PR [https://github.com/WordPress/wordpress-
develop/pull/6686]:
I tested with the mentioned 8-bit images above:
[https://ewwwio-downloads.b-cdn.net/png-tests/rabbit-time-paletted-
or8.png]
[https://ewwwio-downloads.b-cdn.net/png-tests/Palette_icon-or8.png]
Without the PR as tested with the current WordPress master the image was
converted to a 32-bit-colored image on resizing
With the PR implemented the image stayed an 8-bit-image as it should
So the issue seems to be resolved with the PR.
Screenshots:
Before: https://pasteboard.co/GW3u1kMnT2DR.png
After: https://pasteboard.co/JKQsw719ggW9.png
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36477#comment:68>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list