You've already forked imgproxy
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:
3
vips.go
3
vips.go
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user