xiphux / svimg

Svelte image component with image preprocessing and lazy loading
ISC License
243 stars 15 forks source link

AVIF #7

Closed ohbob closed 3 years ago

ohbob commented 3 years ago

Will you be adding avif support? Since your optimization is handled by sharp, seems like a logical step, that saves 30% of bandwith and takes almost none effort.

xiphux commented 3 years ago

Yes, that's the plan. AVIF wasn't supported in the prebuilt sharp binaries when I last checked a while ago, but it looks like it's since been added so I can start taking a look. Thanks for the reminder.