Answered Problem comparing 2 bitmaps

  • Tuesday, March 20, 2012 2:47 PM
     
     

    Hi,

    I have the code below on a timer( “b” is a bitmap )

    If Not (Clipboard.GetImage Is Nothing) Then

                If Not (Clipboard.GetImage.Clone Is b) Then

                    b = Clipboard.GetImage.Clone

                    RaiseEvent NewClipboardImageEntry(b)

                End If

            End If

    The problem is that it raises the event even if the picture didn’t change.

    Any help on comparing the 2 images without actually comparing them pixel by pixel (too slow to do the job)?



    Muscalu Ștefan ~~~~ Student



All Replies