From 6b52abeff300c14f3f34afa0417d37b246b10fa7 Mon Sep 17 00:00:00 2001 From: romankh3 Date: Wed, 11 Mar 2020 23:36:43 +0200 Subject: [PATCH] 4.2.0: * added the ability to ignore some percent of differences for comparison. --- README.md | 6 +++--- build.gradle | 2 +- pom.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c8627fb..6a8523b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Published on Maven Central and jCenter Java Library that compares 2 images with | `percentOpacityExcludedRectangles` | The desired opacity of the excluded rectangle fill. | | `fillDifferenceRectangles` | Flag which says fill difference rectangles or not. | | `percentOpacityDifferenceRectangles` | The desired opacity of the difference rectangle fill. | -| `allowingPercentOfDifferentPixels` | The percent of the allowing pixels to be different to stay {@link ImageComparisonState#MATCH} for comparison. E.g. percent of the pixels, which would ignore in comparison. | +| `allowingPercentOfDifferentPixels` | The percent of the allowing pixels to be different to stay MATCH for comparison. E.g. percent of the pixels, which would ignore in comparison. Value can be from 0.0 to 100.00 | ## Release Notes @@ -68,12 +68,12 @@ Can be found in [RELEASE_NOTES](RELEASE_NOTES.md). com.github.romankh3 image-comparison - 4.1.0 + 4.2.0 ``` #### Gradle ```groovy -compile 'com.github.romankh3:image-comparison:4.1.0' +compile 'com.github.romankh3:image-comparison:4.2.0' ``` #### To compare two images programmatically diff --git a/build.gradle b/build.gradle index 8ec3f2c..342b33a 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group 'com.github.romankh3' -version '4.2.0-SNAPSHOT' +version '4.2.0' description 'A library and utility to compare different images.' sourceCompatibility = 1.8 diff --git a/pom.xml b/pom.xml index 3d14f6f..db945bf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.github.romankh3 image-comparison - 4.2.0-SNAPSHOT + 4.2.0 jar Image Comparison