I need to compare two buffered images to see if they are the exact same. Simply saying if that equals that doesn\'t work. My current method is
What about hash codes?
img1.getData().hashCode().equals(img2.getData().hashCode())