Skyexu / TopSup

答题辅助决策:头号英雄等答题类游戏
https://www.jianshu.com/p/dc828c4b901d
1.32k stars 351 forks source link

ios投影到屏幕上该如何截图? #120

Open hyc1743 opened 6 years ago

amnesia01 commented 6 years ago

我用的spy++ 获取句柄,win32gui 截的图

RoyLaw commented 6 years ago

Windows 还是 macOS 呢?macOS上你可以用 Automator 做个截图并运行 Python 的脚本来帮助你。

ghost commented 6 years ago

@hyc1743PIL.ImageGrab.grab(bbox=None)
Take a snapshot of the screen. The pixels inside the bounding box are returned as an “RGB” image on Windows or “RGBA” on macOS. If the bounding box is omitted, the entire screen is copied.

cheng-dcl commented 6 years ago

我用的ImageGrab.grab