DEV Community

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 - Sponsor

Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section.

Sentry - Sponsor

If 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 Notes

03: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

Tweet us your tasty treats!

Episode source