Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java take screenshot

BufferedImage image = new Robot().createScreenCapture(new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()));
ImageIO.write(image, "png", new File("/screenshot.png"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #screenshot
ADD COMMENT
Topic
Name
1+5 =