Initializes a new instance of the AutoCrop class using the specified color.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public AutoCrop( Color borderColor )
using (var bitmap = new Bitmap(@"Images\in.jpg")) using (var autoCrop = new AutoCrop(RgbColor.Brown)) { autoCrop.Threshold = 0.7f; using (var result = autoCrop.Apply(bitmap)) result.Save(@"Images\Output\out.jpg"); }