From 6b8313500bcf2c51f95733e940c4f8f659756511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gediminas=20Rim=C5=A1a?= Date: Thu, 22 Sep 2022 17:02:14 +0300 Subject: [PATCH] Update README.md - fix code example (#236) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5f38f7..1e58441 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ To save result image, can be used two ways: ImageComparisonResult imageComparisonResult = new ImageComparison(expectedImage, actualImage).compareImages(); //Image can be saved after comparison, using ImageComparisonUtil. - ImageComparisonUtil.saveImage(resultDestination, resultImage); + ImageComparisonUtil.saveImage(resultDestination, imageComparisonResult.getResult()); ``` ## Demo