gen2brain/avif

AVIF image encoder/decoder

Go

83

66 commits

updated Aug 14, 2026

See the code

README

avif

Status Go Reference

Go encoder/decoder for AV1 Image File Format (AVIF) with support for animated AVIF images.

Based on libavif with dav1d (decode) and aom (encode) compiled to WASM and used with wazero runtime (CGo-free).

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

For a pure Go alternative, see gav1d, an AV1 and AVIF decoder and encoder 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 pure Go with wasm2go instead of running it with wazero

gen2brain/avif

AVIF image encoder/decoder

Go

83

66 commits

updated Aug 14, 2026

See the code

README

avif

Status Go Reference

Go encoder/decoder for AV1 Image File Format (AVIF) with support for animated AVIF images.

Based on libavif with dav1d (decode) and aom (encode) compiled to WASM and used with wazero runtime (CGo-free).

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

For a pure Go alternative, see gav1d, an AV1 and AVIF decoder and encoder 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 pure Go with wasm2go instead of running it with wazero

Project health

Overall

2.7/10

Maintained

0/10

Code review

0/10
OpenSSF Scorecard

Latest release

v0.6.0 · Jul 5, 2026

Releases this year

5

Significant stargazers

ICHINOSE Shogo

388 followers · starred Mar 2024

Steve Francia

16,681 followers · starred Jul 2025