Is it possible to process the screen frame in Windows?
I'm trying to make a color filter / compressor of the opensource screen in python.
Is it possible to process the screen frame in Windows?
I'm trying to make a color filter / compressor of the opensource screen in python.
The most practical way to have screenshots is with the "pyautogui" package.
Just install pyautogui in your Python environment and then:
import pyautogui
image = pyautogui.screenshot()
This returns an image object compatible with PIL, which is more or less the standard for handling Python images.
Note that at least on Linux, this functionality depends on the installation of a non-Python package called "scrot" - in Debian and Ubuntu, install with "sudo apt-get install scrot". In Fedora and RedHat: "sudo dnf install scrot".