diff --git a/SkiaSharpCompare/ImageCompare.cs b/SkiaSharpCompare/ImageCompare.cs index 0dcd5e1..46ad81e 100644 --- a/SkiaSharpCompare/ImageCompare.cs +++ b/SkiaSharpCompare/ImageCompare.cs @@ -117,18 +117,18 @@ public ICompareResult CalcDiff(SKBitmap pic1, SKBitmap pic2) /// /// Calculates the difference between two in-memory images represented as objects. /// - /// - /// + /// + /// /// /// - public ICompareResult CalcDiff(SKBitmap Pic1, SKBitmap Pic2, SKBitmap differenceMaskPic) + public ICompareResult CalcDiff(SKBitmap pic1, SKBitmap pic2, SKBitmap differenceMaskPic) { if (CompareMetadata) { throw new NotSupportedException("Metadata comparison is not implemented for SKBitmap inputs. https://github.com/mono/SkiaSharp/issues/1139 Use the overload with streams or filepath to get support for metadata comparison."); } - return Compare.CalcDiff(Pic1, Pic2, differenceMaskPic, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); + return Compare.CalcDiff(pic1, pic2, differenceMaskPic, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); } /// @@ -173,23 +173,23 @@ public ICompareResult CalcDiff(Stream pic1, Stream pic2, SKBitmap maskImage) /// /// Calculates a difference mask image that highlights the differences between two images located at the specified file paths. /// - /// - /// + /// + /// /// - public SKBitmap CalcDiffMaskImage(string PathPic1, string PathPic2) + public SKBitmap CalcDiffMaskImage(string pathPic1, string pathPic2) { - return Compare.CalcDiffMaskImage(PathPic1, PathPic2, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); + return Compare.CalcDiffMaskImage(pathPic1, pathPic2, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); } /// /// Calculates a difference mask image that highlights the differences between two in-memory images represented as objects. /// - /// - /// + /// + /// /// - public SKBitmap CalcDiffMaskImage(SKBitmap Pic1, SKBitmap Pic2) + public SKBitmap CalcDiffMaskImage(SKBitmap pic1, SKBitmap pic2) { - return Compare.CalcDiffMaskImage(Pic1, Pic2, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); + return Compare.CalcDiffMaskImage(pic1, pic2, ResizeOption, PixelColorShiftTolerance, TransparencyOptions); } /// @@ -242,12 +242,12 @@ public SKBitmap CalcDiffMaskImage(SKBitmap image1, SKBitmap image2, SKBitmap dif /// /// Checks if two images located at the specified file paths are identical, considering the configured options for resizing, /// - /// - /// + /// + /// /// - public bool ImagesAreEqual(string PathActual, string PathExpected) + public bool ImagesAreEqual(string pathActual, string pathExpected) { - return Compare.ImagesAreEqual(PathActual, PathExpected, ResizeOption, PixelColorShiftTolerance, TransparencyOptions, CompareMetadata); + return Compare.ImagesAreEqual(pathActual, pathExpected, ResizeOption, PixelColorShiftTolerance, TransparencyOptions, CompareMetadata); } /// @@ -275,12 +275,12 @@ public bool ImagesAreEqual(SKBitmap actual, SKBitmap expected) /// /// Checks if two images have the same dimensions (width and height). /// - /// - /// + /// + /// /// - public static bool ImagesHaveEqualSize(string PathActual, string PathExpected) + public static bool ImagesHaveEqualSize(string pathActual, string pathExpected) { - return Compare.ImagesHaveEqualSize(PathActual, PathExpected); + return Compare.ImagesHaveEqualSize(pathActual, pathExpected); } } } \ No newline at end of file