Skip to content

PixelCompare

Namespace Nfty.Core.Imaging in assembly Nfty.Core.

public static class PixelCompare

Comparing two pictures pixel for pixel.

Methods

Same(Image<Rgba32>, Image<Rgba32>)

public static bool Same(Image<Rgba32> a, Image<Rgba32> b);

Whether two images have the same size and every pixel equal.

Parameters

  • a (Image<Rgba32>) - One image.
  • b (Image<Rgba32>) - The other.

Returns. True when they are pixel-identical.