posted 16 years ago
If you need to know if the images are pixel-by-pixel copied of one another, then you can use the javax.imageio.ImageIO class to create BufferedImage objects of both images, and then compare their pixel values.
If by "identical" you mean "looking similar (or identical) to the human eye", then things get a lot more complicated.