Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ DPR
Method
DPR
processing/options.go:61–63 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
59
}
60
61
func
(po ProcessingOptions) DPR() float64 {
62
return
po.GetFloat(keys.Dpr, 1.0)
63
}
64
65
func
(po ProcessingOptions) EnforceThumbnail() bool {
66
return
po.Main().GetBool(keys.EnforceThumbnail, po.config.EnforceThumbnail)
Callers
1
calcScale
Method · 0.80
Calls
1
GetFloat
Method · 0.80
Tested by
no test coverage detected