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

Method EnforceWebP

processing/options.go:189–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187}
188
189func (po ProcessingOptions) EnforceWebP() bool {
190 return po.GetBool(keys.EnforceWebP, false)
191}
192
193func (po ProcessingOptions) EnforceAvif() bool {
194 return po.GetBool(keys.EnforceAvif, false)

Callers 1

determineOutputFormatMethod · 0.80

Calls 1

GetBoolMethod · 0.80

Tested by

no test coverage detected