File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Checksum for Image comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Checksum for Image comparison" Watch "Checksum for Image comparison" New topic
Author

Checksum for Image comparison

Gupta Nitin
Greenhorn

Joined: Feb 05, 2007
Posts: 7
what is the checksum method of image comparison and how do i do it in Java?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39544
    
  27
I'm not quite sure what you're getting at, but generating a checksum of a file (image or otherwise) would involve calculating the sum of all bytes in that file. If you do that for two files, chances are good that the files will be identical if the checksums are identical. Wikipedia has more to say on the subject.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checksum for Image comparison
 
Similar Threads
Checking if two images are identical
Calculation of total bits in a file
Efficient way to compare complex objects?
get information from TIFF files
How to know img tag src attribute loaded completely by action