Skip to content

Repository files navigation

heic

Status Go Reference

Go decoder for HEIC Image File Format (HEVC in HEIF).

Based on the Rust heic decoder compiled to WASM and run with wazero (CGo-free).

The library will first try to use a libheif dynamic/shared library (if installed) via purego and will fall back to the embedded WASM.

For a pure Go alternative, see h265, a HEVC and HEIC decoder with SIMD support, no CGo/WASM and no dependencies.

Build tags

  • nodynamic - do not use dynamic/shared library (use only WASM)
  • wasm2go - transpile the WASM to Go with wasm2go instead of running it with wazero

About

HEIC image decoder

Resources

Stars

45 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages