본문 바로가기

Programming/Python

[Python] 파이썬으로 화면 캡쳐하기

반응형

Code Summary

from PIL import ImageGrab 

# full screen
img_full = ImageGrab.grab()

# crob screen
img_crop = ImageGrab.grab([0,0,800,600])

# img show
img_full.show()
img_crop.show()

반응형

'Programming > Python' 카테고리의 다른 글