Parameter | Description |
---|---|
Tolerance | How closely we match the color to Background (0 to 255, where 0 matches only the specified color, and 255 would remove everything) |
Background | The border color to remove |
CropThreshold | The minimum percentage of border color within a row/column to consider that it has content area, e.g. For 0.01, if more than 1% of pixels are background color then the row/column will be included. Higher values make the crop more aggressive, i.e. some content may be lost. Typical values are 0.001 - 0.02 |