humanmade / tachyon

Faster than light image resizing service that runs on AWS. Super simple to set up, highly available and very performant.

Home Page:https://engineering.hmn.md/projects/tachyon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVIF support

roborourke opened this issue · comments

This will be dependent on lovell/sharp#2289

Sharp can already support AVIF format but requires a specially built libvips binary which we might be able to achieve but better to wait for the official support IMO.

For an overview and breakdown of AVIF and the kind of compression it can achieve see this post by Jake Archibald:

https://jakearchibald.com/2020/avif-has-landed/

Browser support may look the same as how we do webp detection right now. Alternatively in terms of implementation we could look to using <picture> at the WordPress level.

Natively supported by Sharp now.

Hi 👋🏼

Avif support now supported by the major browsers.
I would love to see this feature landed to Tachyon soon.