我正在寻找一种在 Python 中截取 DirectX 游戏截图的方法。我已经尝试使用 PIL 和其他东西,但我最终只得到黑色屏幕截图。我看到项目 directpython11 提供了对某些 DirectX 内容的 Python 绑定,但我没有找到与外部 DirectX 应用程序屏幕截图相关的任何内容。
我有点迷茫,任何帮助将不胜感激;)。
PS:我在 Windows 7 上使用 Python 2.7.3 32 位编码。
谢谢
python directx screenshot
directx ×1
python ×1
screenshot ×1