MCPcopy 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
61func (po ProcessingOptions) DPR() float64 {
62 return po.GetFloat(keys.Dpr, 1.0)
63}
64
65func (po ProcessingOptions) EnforceThumbnail() bool {
66 return po.Main().GetBool(keys.EnforceThumbnail, po.config.EnforceThumbnail)

Callers 1

calcScaleMethod · 0.80

Calls 1

GetFloatMethod · 0.80

Tested by

no test coverage detected