-
-
Notifications
You must be signed in to change notification settings - Fork 105
Home
Roman Beskrovnyi edited this page Jan 20, 2020
·
2 revisions
- Published on Maven Central Java Library that compares 2 images with the same sizes and shows the differences visually by drawing rectangles.
- Some parts of the image can be excluded from the comparison.
- Can be used for automation qa tests.
- Implementation is using only standard core language and platform features, no 3rd party libraries and plagiarized code.
- Pixels (with the same coordinates in two images) can be visually similar, but have different values of RGB. 2 pixels are considered to be "different" if they differ more than 10% from each other.
- The output of the comparison is a copy of
actual
images.
- Image Comparison with image compression - When someone made changes in the image in programs like Photoshop or Gimp and save image as a jpg file, s/he needs to choose the compression level (good quality and large file weight or visa Versa, from 0 to 100%). The compression algorithm makes some changes in pixels of the original image.