adds section in README about libheif for AVIF en-/decoding

master
Lars Fronius 5 years ago
parent 200b5ad680
commit 713881083d
No known key found for this signature in database
GPG Key ID: 9799DF92255C2D0C

@ -2,7 +2,7 @@
Small [Go](http://golang.org) package for fast high-level image processing using [libvips](https://github.com/jcupitt/libvips) via C bindings, providing a simple [programmatic API](#examples). Small [Go](http://golang.org) package for fast high-level image processing using [libvips](https://github.com/jcupitt/libvips) via C bindings, providing a simple [programmatic API](#examples).
bimg was designed to be a small and efficient library supporting common [image operations](#supported-image-operations) such as crop, resize, rotate, zoom or watermark. It can read JPEG, PNG, WEBP natively, and optionally TIFF, PDF, GIF and SVG formats if `libvips@8.3+` is compiled with proper library bindings. bimg was designed to be a small and efficient library supporting common [image operations](#supported-image-operations) such as crop, resize, rotate, zoom or watermark. It can read JPEG, PNG, WEBP natively, and optionally TIFF, PDF, GIF and SVG formats if `libvips@8.3+` is compiled with proper library bindings. Lastly AVIF is supported as of `libvips@8.9+`. For AVIF support `libheif` needs to be [compiled with an applicable AVIF en-/decoder](https://github.com/strukturag/libheif#compiling).
bimg is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them. bimg is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them.
@ -53,7 +53,9 @@ If you're using `gopkg.in`, you can still rely in the `v0` without worrying abou
- C compatible compiler such as gcc 4.6+ or clang 3.0+ - C compatible compiler such as gcc 4.6+ or clang 3.0+
- Go 1.3+ - Go 1.3+
**Note**: `libvips` v8.3+ is required for GIF, PDF and SVG support. **Note**:
* `libvips` v8.3+ is required for GIF, PDF and SVG support.
* `libvips` v8.9+ is required for AVIF support. `libheif` compiled with a AVIF en-/decoder also needs to be present.
## Installation ## Installation

Loading…
Cancel
Save