@jimp/wasm-avif

1.6.0 • Public • Published

@jimp/wasm-avif

A format plugin for Jimp that adds support for AVIF images using the libavif.

NOTE: Only works in esm environments.

Usage

import { createJimp } from "@jimp/core";
import { defaultPlugins } from "jimp";
import avif from "@jimp/wasm-avif";

// A custom jimp that supports webp
const Jimp = createJimp({
  formats: [avif],
  plugins: defaultPlugins,
});

Readme

Keywords

none

Package Sidebar

Install

npm i @jimp/wasm-avif

Weekly Downloads

71

Version

1.6.0

License

MIT

Unpacked Size

13.5 kB

Total Files

15

Last publish

Collaborators

  • alisowski
  • oliver.moran