[wp-trac] [WordPress Trac] #52867: Add capability to set default format for image sub-sizes.
WordPress Trac
noreply at wordpress.org
Tue May 4 16:15:44 UTC 2021
#52867: Add capability to set default format for image sub-sizes.
---------------------------------------------------+---------------------
Reporter: adamsilverstein | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests dev-feedback | Focuses:
---------------------------------------------------+---------------------
Comment (by adamsilverstein):
> I noticed that the default image editor on my environment, Imagick, did
not support WebP. GD on the same system did support WebP, but it wasn't
used because the editor is chosen on whether it supports the format being
loaded. This is an existing problem, really -- but figured it was worth
mentioning.
@mikeschroder [attachment:"52867.4.diff"] tries to address that, but I
feel like it probably deserves a different name when used in that context.
Also we loose the filename from context. I'm going to start with the
single filter for now, then we can work on this as a follow up issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52867#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list