I could use Imagemagick to compare two images and get the difference image through command line using - 'compare image1.png image2.png output.png'. But I am not sure what code to write or what to install so that imagemagick works in java code to compare images.
Asked
Active
Viewed 829 times
1
-
Use [ProcessBuilder](https://docs.oracle.com/javase/8/docs/api/java/lang/ProcessBuilder.html). – VGR Oct 26 '16 at 12:16
-
1Here is answer for image comparision in Java: http://stackoverflow.com/questions/18760602/jmagick-image-comparision – Krzysztof Walczewski Apr 11 '17 at 15:38