Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to capture multiple screens with ImageGrab

# Using the pillow library's ImageGrab
from PIL import ImageGrab

# Use these parameters to capture all avaliable screens
image = ImageGrab.grab(bbox=None, include_layered_windows=False, all_screens=True)

# Shows an image of what it captured
image.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #capture #multiple #screens #ImageGrab
ADD COMMENT
Topic
Name
8+1 =