compare bitmaps

sdlangers

Well-known member
Joined
Dec 3, 2002
Messages
118
Hi again,

ok - FINAL bitmap question i promise!!

does anyone know a quick way of comparing two bitmaps (say 10x10) to see if they are the same picture.

i know i can loop through the pixels and check them, but hopefully there is a more efficient way?

thanks
 
If you have to compare them, then checking pixel by pixel is going to have to be how you do it. This doesnt necessarily have to be slow; if you use unsafe code in C# to get at the bitmapdata of both of them it ought to be lightning fast.
 
Back
Top