MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / MaxSrcResolution

Method MaxSrcResolution

processing/options.go:300–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func (po ProcessingOptions) MaxSrcResolution() int {
301 return po.securityChecker.MaxSrcResolution(po.Main())
302}
303
304func (po ProcessingOptions) MaxAnimationFrames() int {
305 return po.securityChecker.MaxAnimationFrames(po.Main())

Callers 1

vectorGuardScaleMethod · 0.45

Calls 1

MainMethod · 0.80

Tested by

no test coverage detected