What is the fastest way of taking a screenshot in

2019-08-15 06:47发布

What is the fastest way to capture a screenshot in Windows? A driver? Using DirectX?

2条回答
Lonely孤独者°
2楼-- · 2019-08-15 07:13

The fastest way would be to read mapped region of video card memory I think... Just an idea, never tried that.

查看更多
劫难
3楼-- · 2019-08-15 07:27

A while back I timed the win32 api and the .net wrapper. Here is the complete blog post:

http://blog.bobcravens.com/2009/04/fastest-screen-capture-using-c-vista-vs-win7/

The upshot is that the .net wrapper in the latest version of Win7 is as fast as the native win32 api. I have never tried DirectX or the other options. The .net wrapper was fast enough for my purpose. I have heard that accessing the video drivers (like VNC does) is the fastest. I have nothing to back that up, but it seems reasonable.

Bob

查看更多
登录 后发表回答