I have a form which captures a portion of the screen and then compares that image with 30 other images allready saved on disk (they are .bmp files). I copied all these files to the resources folder (and setted it to embedded resources). After the screen
capture, it goes into a 30 cycle and compares the image captured with those I have on disk to check if the capture is identical with one of the others.
My problem is that I can't make it work from the embedded resources, if I take the .exe program to another computer I have to take the folder containing the images too, and that is not good.
The images are saved as 0.bmp, 1.bmp, 2.bmp and so on.
So is there a way to do something like:
for i as integer=0 to 29
' load image i.bmp from resources
'compare with the captured one
By the way, right now everything is working just fine, it does check the pixels and everything else, it finds the bitmap that is equal, just this problem left (access the files from resources)