Adds AVIF support

* This adds a new type AVIF to the supported type list if libvips >= 8.9.0
 * Calls libheif through libvips with the AV1 compression set to save AVIF images.
This commit is contained in:
Lars Fronius 2020-10-10 10:59:35 +02:00
parent 4f683f98d8
commit 83c14048e0
No known key found for this signature in database
GPG key ID: 9799DF92255C2D0C
9 changed files with 86 additions and 9 deletions

View file

@ -352,8 +352,8 @@ func TestImageAutoRotate(t *testing.T) {
}
tests := []struct {
file string
orientation int
file string
orientation int
}{
{"exif/Landscape_1.jpg", 1},
{"exif/Landscape_2.jpg", 1},