开发者

capture Desktop Image

开发者 https://www.devze.com 2023-02-09 07:38 出处:网络
I want to capture a Desktop image through Coding most probably in Java?? How to achieved 开发者_Go百科it ??See the java.awt.Robot class.

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

精彩评论

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