Simple Comparing of Images

  • Thread starter Thread starter Adam Dockter
  • Start date Start date
A

Adam Dockter

I have a couple questions about comparing images. I notice the imagelist
collection of images doesn't provide any comparison of images, and the
System.Drawing.Image.Equal function will not compare if two images are the
same.

Is there a simple and efficient way to compare if two images are the same?
This is all I want to do. I just want to add image objects to a collection
and make sure I am not adding any duplicate images. Is this possible with
standard C# functions and how big of a performance hit is it, if it is
possible?

Any information on this is appreciated.

Thanks,
Adam Dockter
 
Perhaps you should think about how you're keying the images. You should
probably key your images by their original filename or something, that would
be easier and much much faster than comparing the images pixel for pixel.
 
Back
Top