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

Method TrimThreshold

processing/options.go:209–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

207}
208
209func (po ProcessingOptions) TrimThreshold() float64 {
210 return po.GetFloat(keys.TrimThreshold, 10.0)
211}
212
213func (po ProcessingOptions) TrimSmart() bool {
214 return !po.Has(keys.TrimColor)

Callers 1

trimMethod · 0.80

Calls 1

GetFloatMethod · 0.80

Tested by

no test coverage detected