Skip to content

Repository files navigation

Image WASM

Description

I plan to implement most image operations using WASM, and the progress has just begun:

  • webp:
    • Implemented lossy and lossless webp encoder and decoder with the help of squoosh

Install

pnpm add @sourcebug/image-wasm

Usage

import { toWebp } from "@sourcebug/image-wasm";

// ...

Start Development

Dev Mode

pnpm run private:install
pnpm run dev

Build Production

pnpm run private:install
pnpm run build

About

Encode\decode\compress images in Browser.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages