wasmimg

module
v0.0.0-...-d85901e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2023 License: MIT

README

wasmimg 🗜️

Go Reference

⚠️ Work in progress

wasmimg provides image processing in native Go. Mature image libraries are compiled to WASM, then run with wazero allowing them to be used without CGo.

wasmimg focuses on encoding and decoding (for now), leaving image transformations to the user.

Features:

  • No CGo
  • Simple high level API
  • Minimal configuration

Support matrix

mozjpeg webp
encode
decode

Even if a particular language isn't supported, wasmimg's .wasm files can be used with any WASM runtime supporting the below runtime requirements.

Directories

Path Synopsis
Package mozjpeg implements image encoding/decoding through MozJPEG compiled to WASM.
Package mozjpeg implements image encoding/decoding through MozJPEG compiled to WASM.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL