Delegate MagicWandSettings.ColorComparison

Delegate MagicWandSettings.ColorComparison

Namespace: Aspose.Imaging.MagicWand
Assembly: Aspose.Imaging.dll (25.2.0)

Delegate for Aspose.Imaging.Color comparison with a defined threshold.

public delegate bool MagicWandSettings.ColorComparison(Color p1, Color p2, int threshold)

Parameters

p1 Color

The first color to compare.

p2 Color

The second color to compare.

threshold int

The allowed threshold for color difference.

Returns

bool

true if color comparison satisfies the threshold; otherwise, false.