📌  相关文章
📜  java 截取并保存屏幕截图 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:39.793000             🧑  作者: Mango

代码示例3
Rectangle screenRect = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
BufferedImage capture = new Robot().createScreenCapture(screenRect);
ImageIO.write(capture, "bmp", new File(args[0]));