# ScreenCapture **Repository Path**: lineCodeJm/ScreenCapture ## Basic Information - **Project Name**: ScreenCapture - **Description**: 多屏幕截图、跨屏幕截图 常规绘图功能 马赛克、橡皮擦 上一步、下一步 保存成文件、保存到剪切板 取景框(支持快捷键复制RGB颜色和HEX颜色) 非常快、低内存消耗、低CPU使用率. 非常小、仅一个可执行文件,无动态链接库. 可以非常容易的集成到其他应用中. - **Primary Language**: C++ - **License**: MIT - **Default Branch**: blend2d - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 48 - **Created**: 2023-08-26 - **Last Updated**: 2023-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](./Doc/banner.png) # Features - Multi-screen capture, Cross screen shot. - Window area highlight. - Draw circle,ellipse,square,rectangle,arrow,number(ordered) by diffrent colors (fill or not fill). - Draw opacity line,free curve,mosaic,eraser. - Undo Redo support (Shapes in history can be edited). - Save to file or clipboard. - Camera aperture,Copy pixel color(RGB,HEX). - Very fast,Low memory overhead,Low CPU useage. - Only one small executable file (with out any dll). - Can be easily integrated into any program. # Download [Release](https://github.com/xland/ScreenCapture/releases/) (1.8M) # Integration (With Node.js Or Electron) ```js let spawn = require("child_process").spawn; let child = spawn("./path/to/ScreenCapture.exe") child.on("close", (code) => { /// when code is: /// 0 undefined /// 1 quit by press close btn; /// 2 quit by press right mouse btn; /// 3 quit by press esc keyboard /// 4 quit when copy rgb color /// 5 quit when copy hex color /// 6 quit when save to file /// 7 quit when save to clipboard console.log("the quit code is:",code) }); ``` # Support OS - Windows 10 1607 or Later # HotKey - Download [AutoHotKey](https://www.autohotkey.com/) and install it. - Create a `.ahk` script file in `Startup` folder and set the file's content: ```c /* C:\Users\[UserName]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ScreenCapture.ahk ^ : Ctrl ! : Alt + : Shift # : Win The hotkey is Ctrl+Alt+A */ ^!A::Run "D:\path\to\ScreenCapture.exe" ``` - Double Click the `.ahk` file,then you can start the `ScreenCapture.exe` by press `Ctrl+Alt+A`. - The `.ahk` script will be executed when the system startup. # Licenses This project is under the [MIT license](./licence). [Blend2D](https://blend2d.com/) is used in this project. Please also comply with Blend2d's [Zlib open source license](https://github.com/blend2d/blend2d/blob/master/LICENSE.md).