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

Method ShouldFlatten

processing/options.go:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (po ProcessingOptions) ShouldFlatten() bool {
135 return po.Has(keys.Background)
136}
137
138func (po ProcessingOptions) Background() color.RGB {
139 return options.Get(po.Options, keys.Background, color.White)

Callers 2

flattenMethod · 0.80
determineOutputFormatMethod · 0.80

Calls 1

HasMethod · 0.45

Tested by

no test coverage detected