阅读背景:

任何快速简便的方法来捕捉屏幕的一部分? getPixel很慢,GetDIBits似乎有点复杂作为开始

来源:互联网 

I was trying some code to capture part of the screen using getPixel on Windows, with the device context being null (to capture screen instead of window), but it was really slow. It seems that GetDIBits() can be fast, but it seems a bit complcated... I wonder if there is a library that can put the whole region into an array, and pixel[x][y] will return the 24 bit color code of the pixel?I was trying some code to capture part of the s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: