See also e670 缓冲图像转换为图像.

    try {
Robot robot = new Robot(); // Capture a particular area on the screen
int x = 100;
int y = 100;
int width = 200;
int height = 200;
Rectangle area = new Rectangle(x, y, width, height);
BufferedImage bufferedImage = robot.createScreenCapture(area); // Capture the whole screen
area = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
bufferedImage = robot.createScreenCapture(area);
} catch (AWTException e) {
}
Related Examples

最新文章

  1. s:if 判断
  2. JQuery textarea中val(),text()
  3. 会写网页 就会写手机APP -- Hybrid Mobile Apps for ASP.NET Developers
  4. Spring AOP术语
  5. C语言考试解答十题
  6. 在asp.net页面上按回车会触发Imagebutton控件的Click事件
  7. Varnish缓存服务详解及应用实现
  8. document.createElement方法的使用
  9. JS对象或属性的不变性
  10. 【Springboot】Springboot整合Thymeleaf模板引擎
  11. 【算法】螺旋方阵 上交OJ1021
  12. 下载Chrome商店和Youtube资源
  13. Linux mail 邮件发送
  14. 2017《JAVA技术》预备作业-计科1502-19-何俏依
  15. 关于win10下JDK环境变量的配置以及关于JDK的一些说明
  16. 1.angular之Hello World
  17. mongodb 两小时入门
  18. RabbitMQ入门_01_简介与安装
  19. spring杂碎
  20. vim c++插件clang_complete

热门文章

  1. [AWS vs Azure] 云计算里AWS和Azure的探究(2.1)
  2. (原创)c++11改进我们的模式之改进访问者模式
  3. diocp3-服务器的连接上限是到底是多少?diocp3的一个装13测试(8W连接数)
  4. Spark SQL利器:cacheTable/uncacheTable【转】
  5. 【qt】QT 的信号与槽机制
  6. 【Socket】linux黑客之网络嗅探底层原理
  7. pom.xml里发布和下载包
  8. 邮箱登录form表单样例
  9. H3C AP实现定时重启
  10. 解密SVM系列(二):SVM的理论基础