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

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

 > https://gregbenzphotography.com/hdr

 Thanks for sharing the link - those images are incredible and this is such
 a good demonstration of the power of AVIF. Plus the file size is smaller,
 amazing!

 Quick Safari update - support has now landed in WebKit which I believe
 means Safari will soon support AVIF even on older iOS and MacOS versions
 that lack OS support. See https://github.com/WebKit/WebKit/pull/5669.

 The lack of Edge support unfortunately probably still remains a blocker
 since we generally only adopt features that all the major browsers support
 (unless the lack of the feature doesn't negatively impact users). Anything
 we can do to encourage Edge to add support would be helpful.

 > Any major concerns with PHP v8.1

 Primarily that WordPress isn't fully compatible yet as far as I know (see
 https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/
 &
 [https://core.trac.wordpress.org/query?status=accepted&status=assigned&status=new&status=reopened&status=reviewing&keywords=~php8&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority
 open tickets]). That said, I believe it is possible to use AVIF on older
 PHP with a more recent Imagick library.

 Server support is less critical here and it would be fine to only support
 AVIF when the underlying system (server) supports it - we do the same
 already for WebP. We are also exploring browser based encoding as a
 possible path forward, since we can now run the full liibavif via WASM.

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


More information about the wp-trac mailing list