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

Method NewProcessingOptions

processing/options.go:25–31  ·  view source on GitHub ↗
(o *options.Options)

Source from the content-addressed store, hash-verified

23}
24
25func (p *Processor) NewProcessingOptions(o *options.Options) ProcessingOptions {
26 return ProcessingOptions{
27 Options: o,
28 config: p.config,
29 securityChecker: p.securityChecker,
30 }
31}
32
33func (po ProcessingOptions) Width() int {
34 return po.GetInt(keys.Width, 0)

Callers 2

prepareWatermarkMethod · 0.95
ProcessImageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected