Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.27 KB

Windows API Screenshot Project

This project contains a simple C++ application that captures a screenshot using the Windows API and saves the captured image in JPEG format.

Project Description

This C++ application utilizes the Windows API to capture a screenshot and then uses the stb_image_write library to save the image in JPEG format. The application captures the entire screen and saves it with the name screenshot.jpg.

Used Libraries

  • Windows API: Used for capturing the screenshot.
  • stb_image_write: Used for saving the image in JPEG format.

Usage

  1. Compile and run the project.
  2. The application captures the entire screen and saves it as screenshot.jpg.
  3. Check the screenshot.jpg file in the working directory.

Requirements

  • Windows: The application only works on Windows operating systems.

Notes

  • When a screenshot is taken, it overwrites the existing screenshot.jpg file.

License

This project is licensed under the MIT License. For detailed information, see the LICENSE file.

Exapmle

screenshot