开发者

capture Desktop Image

I want to capture a Desktop image through Coding most probably in Java?? How to achieved 开发者_Go百科it ??


See the java.awt.Robot class.

http://download.oracle.com/javase/6/docs/api/java/awt/Robot.html#createScreenCapture(java.awt.Rectangle)

Once you have a reference to the BufferedImage object, you can use the ImageIO class to write to a file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜