321

January 25th, 2021 × #AVIF#images#performance

Hasty Treat - The New AVIF Image Format Is Unreal

Wes and Scott discuss the new AVIF image format - how it works, why it's better than JPEG and WebP, browser support, and how to implement it.

or

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 code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

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!

Share

Play / pause the audio
Minimize / expand the player
Mute / unmute the audio
Seek backward 30 seconds
Seek forward 30 seconds
Increase playback rate
Decrease playback rate
Show / hide this window