https://github.com/gen2brain/avif
AVIF image encoder/decoder
https://github.com/gen2brain/avif
Last synced: about 1 year ago
JSON representation
AVIF image encoder/decoder
- Host: GitHub
- URL: https://github.com/gen2brain/avif
- Owner: gen2brain
- License: mit
- Created: 2024-02-09T22:11:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-23T05:38:08.000Z (over 1 year ago)
- Last Synced: 2025-03-27T22:01:33.645Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 9.25 MB
- Stars: 42
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## avif
[](https://github.com/gen2brain/avif/actions)
[](https://pkg.go.dev/github.com/gen2brain/avif)
Go encoder/decoder for [AV1 Image File Format (AVIF)](https://en.wikipedia.org/wiki/AVIF) with support for animated AVIF images (decode only).
Based on [libavif](https://github.com/AOMediaCodec/libavif) and [aom](https://aomedia.googlesource.com/aom/) compiled to [WASM](https://en.wikipedia.org/wiki/WebAssembly) and used with [wazero](https://wazero.io/) runtime (CGo-free).
The library will first try to use a dynamic/shared library (if installed) via [purego](https://github.com/ebitengine/purego) and will fall back to WASM.
### Build tags
* `nodynamic` - do not use dynamic/shared library (use only WASM)