You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A lot of devices and browsers have started to support AVIF which is the best format in the market right now but just relying on WebP won't be the greatest deal.
Describe the solution you'd like
I would like image-script to support AVIF so that it can be use a replacement of libraries like sharp.
Thanks for the request! AVIF is out of scope for ImageScript for now: it needs a full AV1 codec, which is far larger than the rest of the library combined and doesn’t fit a dependency-free pure TypeScript package. For AVIF, sharp (Node) or @jsquash/avif (WebAssembly) are good options. Lossless WebP encoding is coming with the next release (#49) as a smaller alternative to PNG.
Activity
matmen commentedon Oct 15, 2026
Thanks for the request! AVIF is out of scope for ImageScript for now: it needs a full AV1 codec, which is far larger than the rest of the library combined and doesn’t fit a dependency-free pure TypeScript package. For AVIF, sharp (Node) or @jsquash/avif (WebAssembly) are good options. Lossless WebP encoding is coming with the next release (#49) as a smaller alternative to PNG.