Skip to content

Commit

Permalink
4.2.0:
Browse files Browse the repository at this point in the history
*   added the ability to ignore some percent of differences for comparison.
  • Loading branch information
romankh3 committed Mar 11, 2020
1 parent 96c08dd commit 6b52abe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -68,12 +68,12 @@ Can be found in [RELEASE_NOTES](RELEASE_NOTES.md).
<dependency>
<groupId>com.github.romankh3</groupId>
<artifactId>image-comparison</artifactId>
<version>4.1.0</version>
<version>4.2.0</version>
</dependency>
```
#### 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
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.romankh3</groupId>
<artifactId>image-comparison</artifactId>
<version>4.2.0-SNAPSHOT</version>
<version>4.2.0</version>
<packaging>jar</packaging>

<name>Image Comparison</name>
Expand Down

0 comments on commit 6b52abe

Please sign in to comment.