I plan to implement most image operations using WASM, and the progress has just begun:
- [ ] webp:
- [x] Implemented lossy and lossless webp encoder and decoder with the help of
squoosh
- [x] Implemented lossy and lossless webp encoder and decoder with the help of
pnpm add @sourcebug/image-wasm
import { toWebp } from "@sourcebug/image-wasm";
// ...
pnpm run private:install
pnpm run dev
pnpm run private:install
pnpm run build