1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-11-27 22:48:53 +02:00

Don't fail if smart crop is not supported but requested

This commit is contained in:
DarthSim
2019-06-11 19:31:18 +06:00
parent 6f889a14da
commit e4b8332752
2 changed files with 13 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ package main
import "C"
import (
"context"
"errors"
"math"
"os"
"runtime"
@@ -27,8 +26,6 @@ var (
vipsTypeSupportSave = make(map[imageType]bool)
watermark *vipsImage
errSmartCropNotSupported = errors.New("Smart crop is not supported by used version of libvips")
)
var vipsConf struct {