Skip to content

ReFo0/screenshot-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published