I am capturing the screen using robot.screenCapture()
and frame bufferedImage1
. Again I am capturing desktop screen and frame bufferedImage2
.
Could please tell me how to compare these 2 images (bufferedImage1
and bufferedImage2
) pixel by pixel. If there is any difference, then how to frame the part that is different?
Here's one way to do it: