1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-05 23:28:10 +02:00

Drop deprecated stuff (MaxSrcDimension, GZipCompression, IMGPROXY_MAX_GIF_FRAMES, resizeCrop)

This commit is contained in:
DarthSim
2021-03-15 16:47:35 +06:00
parent 53f8b0dbdd
commit baf00f64f2
8 changed files with 4 additions and 159 deletions

View File

@@ -64,14 +64,12 @@ type resizeType int
const (
resizeFit resizeType = iota
resizeFill
resizeCrop
resizeAuto
)
var resizeTypes = map[string]resizeType{
"fit": resizeFit,
"fill": resizeFill,
"crop": resizeCrop,
"auto": resizeAuto,
}