Table of Contents

Class SKPixelComparerOptions

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

Options for configuring pixel-by-pixel image comparison behavior.

public class SKPixelComparerOptions
Inheritance
SKPixelComparerOptions
Inherited Members

Constructors

SKPixelComparerOptions()

Properties

CompareAlpha

Gets or sets whether the alpha channel is included in the comparison. When true, alpha differences contribute to error metrics and pixel error detection. When false, only RGB channels are compared. Default is false.

TolerancePerChannel

Gets or sets whether tolerance is applied independently to each color channel. When true, each channel (R, G, B) is checked separately against the tolerance value or mask channel value. When false, the sum of per-channel differences is checked against the tolerance (or sum of mask channel values). Default is true.