0.0.8 • Published 8 months ago
@sourcebug/image-lib v0.0.8
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
- Implemented lossy and lossless webp encoder and decoder with the help of
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