imgix APIs
Rendering API
Trim Standard Deviation

Trim Standard Deviation


The trim-sd parameter defines the standard deviation among pixels within a border, and is only valid when trim=auto.

The default value is 10. Decreasing this value makes the imgix trim algorithm more likely to trim the row of pixels and exit as it “walks” in from the edge of the image. If this value is higher, the algorithm is more lenient.