Click here to Skip to main content
15,880,651 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two images of BMP format. Need to compare the two and identify
the diffrence.

Content of image can slightly vary, height and width of image for comparison can be of different size.

Specifically looking for an ActiveX component or a DLL as the solution need to be integrated.

Not looking at file comparison. Comparison is needed specifically between two image files. The result highlight where the differences are in the image that is called for comparison.

If possible, the result should reflect in terms of percentage of success.
Posted
Updated 4-Mar-10 22:26pm
v2

Bitmaps are simple (no compression etc) just check out the file structure and compare the images byte by byte.

Also, to check before comparing byte by byte, if bitmaps are the same I would calculate their hashes.
 
Share this answer
 
v2
Any two buffers could be compared by memcmp(..)

(of course after the comparing their effective lengths) :)
 
Share this answer
 
there is an built function available in .net for compare image that both are same or not...

or try following link

<a href="http://www.catenary.com/howto/compare.html">http://www.catenary.com/howto/compare.html</a>[<a href="http://www.catenary.com/howto/compare.html" target="_blank" title="New Window">^</a>]



<a href="http://www.theprogrammersweblog.com/2009/08/toggle-and-compare-images-using.html">http://www.theprogrammersweblog.com/2009/08/toggle-and-compare-images-using.html</a>[<a href="http://www.theprogrammersweblog.com/2009/08/toggle-and-compare-images-using.html" target="_blank" title="New Window">^</a>]


<a href="http://search.cpan.org/~avif/Image-Compare-0.2/Compare.pm">http://search.cpan.org/~avif/Image-Compare-0.2/Compare.pm</a>[<a href="http://search.cpan.org/~avif/Image-Compare-0.2/Compare.pm" target="_blank" title="New Window">^</a>]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900