title: Programmatically determine if 2 images look the same using Java
body: <p>In JAVA I am trying to programmatically tell if 2 images are equal when displayed on the screen (AKA same image even though they have different <a href="https://en.wikipedia.org/wiki/Color_space" rel="nofollow noreferrer">color spaces</a>.  Is there a piece of code that will return a boolean when presented 2 images?</p>
  
  <p>One of the examples I have is a RGB PNG that I converted to a greyscale PNG.  Both images look the same and I would like to prove this programmatically.  Another example is two images where they display the exact same color pixels to the screen but the color used for 100% transparent pixels has changed.</p>