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

Method MaxBytes

processing/options.go:284–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282}
283
284func (po ProcessingOptions) MaxBytes() int {
285 return po.Main().GetInt(keys.MaxBytes, 0)
286}
287
288func (po ProcessingOptions) StripMetadata() bool {
289 return po.Main().GetBool(keys.StripMetadata, po.config.StripMetadata)

Callers 1

saveImageMethod · 0.80

Calls 2

MainMethod · 0.80
GetIntMethod · 0.45

Tested by

no test coverage detected