Closed pvarenik closed 5 years ago
Hi, there is a mistake in compareImages method (https://github.com/romankh3/image-comparison/blob/master/src/main/java/ua/comparison/image/ImageComparison.java#L120)
saveImage(Files.createTempFile("image-comparison", ".png" ).toFile(), outImg );
but should be something like
saveImage(this.destination, outImg );
I've created PR https://github.com/romankh3/image-comparison/pull/26
Hi, @pvarenik. Feel free to make changes and offer them via Pull-Request.
Merged changes.
Hi, there is a mistake in compareImages method (https://github.com/romankh3/image-comparison/blob/master/src/main/java/ua/comparison/image/ImageComparison.java#L120)
saveImage(Files.createTempFile("image-comparison", ".png" ).toFile(), outImg );
but should be something like
saveImage(this.destination, outImg );