Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/imgproxy/imgproxy
/ TrimSmart
Method
TrimSmart
processing/options.go:213–215 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
211
}
212
213
func
(po ProcessingOptions) TrimSmart() bool {
214
return
!po.Has(keys.TrimColor)
215
}
216
217
func
(po ProcessingOptions) TrimColor() color.RGB {
218
return
options.Get(po.Options, keys.TrimColor, color.Black)
Callers
1
trim
Method · 0.80
Calls
1
Has
Method · 0.45
Tested by
no test coverage detected