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.
--
John Wood
Blog:
http://spaces.msn.com/members/johnwood
"Adam Dockter" <adam@cu.net> wrote in message
news:uuBPp%2364EHA.924@TK2MSFTNGP14.phx.gbl...[color=blue]
>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
>
>[/color]