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

Method PreferWebP

processing/options.go:177–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175}
176
177func (po ProcessingOptions) PreferWebP() bool {
178 return po.GetBool(keys.PreferWebP, false)
179}
180
181func (po ProcessingOptions) PreferAvif() bool {
182 return po.GetBool(keys.PreferAvif, false)

Callers 1

determineOutputFormatMethod · 0.80

Calls 1

GetBoolMethod · 0.80

Tested by

no test coverage detected