my first question here. (:
I'm trying to take a small screenshot in python and compare with a saved image, but I'm not getting it.
Here is my code:
im2 = Image.open("image2.bmp")
for y in range(200,300):
box3=(40,y,92,y+9)
im3 = ImageGrab.grab(box3)
if(im3==im2):
print("OK")
#print(y)
and here is the main problem: image
There is one way to transform back the BmpImageFile to Image? I know if I compare two "Image" that will work fine.
Thanks!