Syntax - Tasty Web Development Treats
Hasty Treat - The New AVIF Image Format Is Unreal
In this Hasty Treat, Scott and Wes talk about AVIF — what it is and how you might use it!
Freshbooks - SponsorGet a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section.
Sentry - SponsorIf you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry.io and using the coupon code “tastytreat”.
Show Notes03:10 - What is AVIF?
- AVIF is derived from the keyframes of an AV1 video
- Royalty free (big deal)
- What about WebP?
- Basically half the file size of a WebP for free, which was already about half the size of a jpeg
- It’s a lossy format — ie it inherently will degrade the image
- https://jakearchibald.com/2020/avif-has-landed/
- No animation
10:53 - How to implement
- Cloudinary is in beta, but you can try it
- Gatsby supports it
- https://squoosh.app/
- Imagemin
- https://github.com/nucliweb/imagemin-avif
- https://avif.io/
- https://github.com/dreampiggy/AVIFQuickLook
- https://github.com/vercel/next.js/pull/20765
- Scott’s Instagram
- LevelUpTutorials Instagram
- Wes’ Instagram
- Wes’ Twitter
- Wes’ Facebook
- Scott’s Twitter
- Make sure to include @SyntaxFM in your tweets