Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

fastest way to take screenshot python

import mss
import numpy as np

with mss.mss() as sct:
    monitor = {"top": 160, "left": 160, "width": 160, "height": 135}
    img_array = np.array(sct.grab(monitor))
    # Do whatever you want...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fastest #screenshot #python
ADD COMMENT
Topic
Name
3+5 =