Skip to content

[FR] Support converting to AVIF images #24

Closed as not planned
Closed as not planned

Description

@ShivamJoker

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.

Activity

  1. matmen commented on Oct 15, 2026

    @matmen
    Collaborator

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions