[wp-trac] [WordPress Trac] #35725: Add mime-type for Webp
WordPress Trac
noreply at wordpress.org
Fri Nov 13 12:44:48 UTC 2020
#35725: Add mime-type for Webp
-------------------------------------------------+-------------------------
Reporter: markoheijnen | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future
| Release
Component: Media | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion needs-testing | Focuses:
has-unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Comment (by Clorith):
Some more research should also be put into the underlying dependencies
here, as both the GD and Imagick library can be compiled without WebP
support (at least in the case of GD, it needs to be explicitly told to
compile with the support).
An indication of availability of such features would go a long way as an
initial step before looking at possible implementations.
Other considerations brought up is availability from a user perspective,
the support for WebP in the image libraries is for either converting other
formats towards WebP, but also to manipulate WebP images to generate image
sizes for example. But we should also consider the formats availability to
end users, can they make the image format them selves?
And finally, compatibility, as noted, the latest OSX just launched (Big
Sur) which brings support for WebP to the Safari browser, but other
clients are still lagging behind. the ever present IE 11 is still out
there in the wild, and Microsoft Edge (pre-chromium update) is also the
latest Edge version available to many users due to the staggered rollout
from Microsoft, both of which do not support the WebP format and a
fallback would need to be implemented for sites trying to use WebP images
that their visitors may not be able to access, this introduces wrapper
classes which may not be compatible with existing styling of sites, and is
likely going to need a theme support entry for WebP, much like there is
for HTML5-variations of some components.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35725#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list