Capture Win is a screen capturing application that utilizes GDI+ to capture screenshots and save them as PNG images. The application runs in a loop, capturing the screen at regular intervals and storing the images in a specified directory.
- Captures the screen at a resolution of 1280x720.
- Saves captured images in PNG format.
- Configurable capture interval (default is every 3 minutes).
- Automatically creates a directory for storing screenshots if it does not exist.
src/main.cpp
: Contains the main functionality of the application, including screen capturing and saving images.CMakeLists.txt
: Configuration file for CMake, specifying project details and dependencies.
To build the project, follow these steps:
- Ensure you have CMake installed on your system.
- Open a terminal and navigate to the project directory.
- Create a build directory:
mkdir build cd build
- Run CMake to configure the project:
cmake ..
- Build the project:
cmake --build .
After building the project, you can run the application from the build directory. The application will start capturing the screen and saving images to the C:\CapturedScreenshots
directory by default.
This project is licensed under the MIT License. See the LICENSE file for more details.