aspose file tools*
The moose likes Java in General and the fly likes Checking if two images are identical Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Checking if two images are identical" Watch "Checking if two images are identical" New topic
Author

Checking if two images are identical

Micho Lee
Greenhorn

Joined: Oct 21, 2003
Posts: 14
Is there a way to compare images or image objects in java to see if two images are identical?

Thanks a bunch!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
I think you are going to have to extract the images to int[] of pixels in order to compare them. The Image.equals method just inherits from Object.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Miho, please don't post duplicate questions in different forums. We don't want people replying without reading what others have already said; it wastes time. Followups go here please. Thanks.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking if two images are identical
 
Similar Threads
Using a Comparator for the TreeSet class
Compare Two Images
identical hashcode values
Problem while using Birt with eclipse
Checking if two images are identical