python I want to capture a specific area

前端 未结 0 1175
迷失自我
迷失自我 2020-12-13 06:34
def capture(hwnd):
    x1, y1, x2, y2 = win32gui.GetClientRect(hwnd)
    w = x2 - x1
    h = y2 - y1
    hwndDC = win32gui.GetWindowDC(hwnd)
    mfcDC = win32ui.Crea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题