Skip to content

virakkhun/towebp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToWebP | Convert Image to WebP

Locally convert image to WebP using wasm. wasm was build from c lib, and trasnform to wasm.

Dependencies

  • stb for load image from memory
  • libwebp for encoding and decoding
  • emscripten for transforming to wasm

API

Module._to_webp(
  buffer: Uint8Array,
  bufferLength: number,
  quality: number,
  outputSize: Uint8Array
)

Website Theme

catppuccin