Enum ColorComparisonMode

Enum ColorComparisonMode

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

Specifies how colors are compared during the Magic Wand algorithm.

public enum ColorComparisonMode
   {
       ExactColor,
       SimilarColor,
       BrighterColor,
       DarkerColor,
       LighterColor
   }

Fields

Custom = 3

Color comparison algorithm is defined by user.

RgbDefault = 0

Colors are compared in the RGB color space.Every color difference must satisfy the threshold.

YuvDefault = 1

Colors are compared in the YUV color space.Every color difference must satisfy the threshold.

YuvLessLumaSensitive = 2

Colors are compared in the YUV color space.Color information differences must satisfy the threshold, the threshold for luminance component is doubled.

 English