mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 20:22:31 +02:00
Advanced url format
This commit is contained in:
15
process.go
15
process.go
@@ -62,21 +62,6 @@ const (
|
||||
CROP
|
||||
)
|
||||
|
||||
var resizeTypes = map[string]resizeType{
|
||||
"fit": FIT,
|
||||
"fill": FILL,
|
||||
"crop": CROP,
|
||||
}
|
||||
|
||||
type processingOptions struct {
|
||||
Resize resizeType
|
||||
Width int
|
||||
Height int
|
||||
Gravity gravityType
|
||||
Enlarge bool
|
||||
Format imageType
|
||||
}
|
||||
|
||||
var vipsSupportSmartcrop bool
|
||||
var vipsTypeSupportLoad = make(map[imageType]bool)
|
||||
var vipsTypeSupportSave = make(map[imageType]bool)
|
||||
|
Reference in New Issue
Block a user