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

Method MaxAnimationFrames

security/checker.go:35–37  ·  view source on GitHub ↗

MaxAnimationFrames returns the maximum allowed animation frames

(o *options.Options)

Source from the content-addressed store, hash-verified

33
34// MaxAnimationFrames returns the maximum allowed animation frames
35func (s *Checker) MaxAnimationFrames(o *options.Options) int {
36 return o.GetInt(keys.MaxAnimationFrames, s.config.MaxAnimationFrames)
37}
38
39// MaxAnimationFrameResolution returns the maximum allowed animation frame resolution
40func (s *Checker) MaxAnimationFrameResolution(o *options.Options) int {

Callers

nothing calls this directly

Calls 1

GetIntMethod · 0.45

Tested by

no test coverage detected