[wp-trac] [WordPress Trac] #62900: PNG original image not affected by conversion filter
WordPress Trac
noreply at wordpress.org
Wed Feb 5 21:18:16 UTC 2025
#62900: PNG original image not affected by conversion filter
-------------------------------------------------+-------------------------
Reporter: pixlpirate | Owner:
| adamsilverstein
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting
| Review
Component: Media | Version: 6.7.1
Severity: normal | Resolution:
Keywords: dev-feedback has-patch needs-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by flixos90):
While it's a valid topic to raise, I do wonder whether this can be
considered a bug or an intentional limitation.
I certainly agree it's unexpected that the original image is not converted
while its subsizes are converted.
But before we change anything related to the PNG limitation, we should
research for history why that condition to exclude PNGs was implemented in
the first place and whether it's still relevant or can be revised.
Depending on the outcome of that research, I think we should either remove
the PNG limitation so that it works the same way for all formats, or we
could consider disabling it also for the subsizes in that case so that
it's consistent. Although then one may argue it's still better to have
only the sub-sizes available as AVIF than all of them being PNG.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62900#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list