[wp-trac] [WordPress Trac] #51228: Include support for the AVIF image format
WordPress Trac
noreply at wordpress.org
Mon Oct 24 14:39:23 UTC 2022
#51228: Include support for the AVIF image format
--------------------------+------------------------------
Reporter: lukefiretoss | Owner: adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by adamsilverstein):
> The fundamental flaw with the WebP proposal was wanting to convert all
existing images/thumbnails by default.
> Here the approach should simply be supporting AVIF uploads and
generating AVIF thumbnails of those uploads.
Thats exactly what we did for WebP in WordPress 5.8; the rejected proposal
for "by default" was a follow up to that work.
> The only big hurdle is AVIF that PHP < 8.1 doesn’t support it and WP is
still handcuffed to supporting ancient EOL versions of PHP.
Plus the lack of support in Edge.
> The philosophical decision that needs to be made is,
This decision was made long ago - WordPress image mime type support always
depends on the underlying image processing supporting it; it is fine if
this is a progressive enhancement.
See this article for more info on core support for 8.1 (currently "beta
support") - https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-
php-8-0-8-1/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51228#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list