mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-15 18:35:54 -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
|
|
@ -11,7 +11,7 @@ env:
|
|||
# - LIBVIPS=8.7.4
|
||||
# - LIBVIPS=8.8.4
|
||||
# - LIBVIPS=8.9.2
|
||||
- LIBVIPS=8.10.0
|
||||
- LIBVIPS=8.10.1
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
|
@ -26,7 +26,7 @@ install:
|
|||
- docker build -t h2non/bimg:ci --build-arg LIBVIPS_VERSION=$LIBVIPS .
|
||||
|
||||
script:
|
||||
- docker run h2non/bimg:ci sh -c 'export LD_LIBRARY_PATH=/vips/lib:$LD_LIBRARY_PATH; export PKG_CONFIG_PATH=/vips/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig; go vet . && golint . && go test -v -race -covermode=atomic -coverprofile=coverage.out'
|
||||
- docker run h2non/bimg:ci sh -c 'export LD_LIBRARY_PATH=/vips/lib:/usr/local/lib:$LD_LIBRARY_PATH; export PKG_CONFIG_PATH=/vips/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig; go vet . && golint . && go test -v -race -covermode=atomic -coverprofile=coverage.out'
|
||||
|
||||
# after_success:
|
||||
# - goveralls -coverprofile=coverage.out -service=travis-ci
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue