mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 12:12:40 +02:00
Auto resizing type
This commit is contained in:
@@ -58,12 +58,14 @@ const (
|
||||
resizeFit resizeType = iota
|
||||
resizeFill
|
||||
resizeCrop
|
||||
resizeAuto
|
||||
)
|
||||
|
||||
var resizeTypes = map[string]resizeType{
|
||||
"fit": resizeFit,
|
||||
"fill": resizeFill,
|
||||
"crop": resizeCrop,
|
||||
"auto": resizeAuto,
|
||||
}
|
||||
|
||||
type rgbColor struct{ R, G, B uint8 }
|
||||
|
Reference in New Issue
Block a user