How to find a picture within a picture
Posted on 2009-04-21
The problem to solve is as follow:
I need to:
- take a snapshot of area (rectangle) currently on screen and put it to a variable (VarA)
- load another picture from a file into a variable (VarB)
- find out, if the VarB is a part of VarA, and at which position (x,y)
I have a picture that contains many photos (PicA). I cut out a photo and save it as PicB.
Now I need to find out if and where PicB is in PicA.
This should be done directly in Visual Basic 6 or at least in a bindable DLL.
Any idea how I can do this?