[wp-trac] [WordPress Trac] #51228: Include support for the AVIF image format

WordPress Trac noreply at wordpress.org
Sun Oct 23 14:48:02 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 jb510):

 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.

 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.

 The philosophical decision that needs to be made is, is it acceptable to
 add AVIF support conditionally on installs running PHP 8.1+ or do we need
 to try to support AVIF on old versions, or worse wait until 8.1 is the
 minimum support version for WP.

 Per above, I vote for progressive enhancement now, where AVIF support is
 in core but only available when running PHP 8.1+ and those GD/imageavif()
 functions are available.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51228#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list