Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
209
func
(po ProcessingOptions) TrimThreshold() float64 {
210
return
po.GetFloat(keys.TrimThreshold, 10.0)
211
}
212
213
func
(po ProcessingOptions) TrimSmart() bool {
214
return
!po.Has(keys.TrimColor)
Callers
1
trim
Method · 0.80
Calls
1
GetFloat
Method · 0.80
Tested by
no test coverage detected