mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 01:46:18 -07:00
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:
parent
4f683f98d8
commit
83c14048e0
9 changed files with 86 additions and 9 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue