Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 658 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 658 Bytes

What is Capturenator?

Capturenator is a Java library for taking screenshots.

Why use Capturenator?

Capturenator offers a very simple API for taking screenshots:

// Take a full-screen, screenshot.
BufferedImage screenshot = Capture.fullScreen();

// Take a screenshot of a region of the screen. 
BufferedImage screenShotOfARegion = Capture.of(new Rectangle(0, 0, 100, 100));

// Take a screenshot centered around the mouse pointer.
BufferedImage screenshotAtThePointer = Capture.atPointer(new Dimension(100, 100));

How do I use Capturenator?

The test/java directory contains a couple of example programs that use Capturenator.