Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ ResizingType
Method
ResizingType
processing/options.go:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(po ProcessingOptions) ResizingType() ResizeType {
50
return
options.Get(po.Options, keys.ResizingType, ResizeFit)
51
}
52
53
func
(po ProcessingOptions) ZoomWidth() float64 {
54
return
po.GetFloat(keys.ZoomWidth, 1.0)
Callers
2
calcScale
Method · 0.80
calcSizes
Method · 0.80
Calls
1
Get
Function · 0.92
Tested by
no test coverage detected