ImageTaskBaseTTrimBorders(Color, Double) Method

Trims the borders of a specific color around the current image. The command is added to the chain and not executed until the actual processing is done.

Definition

Namespace: GleamTech.ImageUltimate
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.2.0
C#
public T TrimBorders(
	Color borderColor,
	double sensitivity = 0
)

Parameters

borderColor  Color
The specific color of the border to remove.
sensitivity  Double  (Optional)
The sensitivity of the crop between 0 and 100. The higher the value the more color will be cropped.

Return Value

T
The same instance of this class.

Example

  Notes to Callers

A GleamTech.Drawing.Color parameter/property can be implicitly (automatically) cast from/to other image libraries:

See Also