I tried to use pyautogui to get a rgb of a pixel of a screen shot. And instead of returning an rgb, it returns 4 items. How do I fix this?
Here is my code:
import pyautogui
im1 = pyautogui.screenshot()
im1.save("/Users/barhibel/Desktop/TempFolder/scren.png")
print(im1.getpixel((100, 200)))
And here is what I get:
(248, 241, 227, 255)