Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xland/ScreenCapture
A multifunctional screen capture program
https://github.com/xland/ScreenCapture
canvas draw paint screencapture screenshot skia
Last synced: 3 months ago
JSON representation
A multifunctional screen capture program
- Host: GitHub
- URL: https://github.com/xland/ScreenCapture
- Owner: xland
- License: mit
- Created: 2023-04-08T02:59:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T01:02:17.000Z (3 months ago)
- Last Synced: 2024-11-03T01:24:09.930Z (3 months ago)
- Topics: canvas, draw, paint, screencapture, screenshot, skia
- Language: C++
- Homepage:
- Size: 6.24 MB
- Stars: 640
- Watchers: 12
- Forks: 78
- Open Issues: 19
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
The next major version (2.2.0) is developed in the main branch.
The last stable version is available in the [2.1.x](https://github.com/xland/ScreenCapture/tree/2.1.x) branch.
![](./doc/banner.png)
## Features(特性)
English:
- Multi-screen capture, Cross screen shot.
- Window area highlight.
- Camera aperture,Copy pixel color:RGB(`Ctrl+R`),HEX(`Ctrl+H`).
- Draw circle(`Shift` down),ellipse,square(`Shift` down),rectangle,arrow,ordered number by diffrent colors (fill or not fill).
- Draw curve,straight line(`Shift` down),opacity line,mosaic,eraser,text(`Mouse Wheel` to change font size).
- Modify the drawn elements at any time(`Mouse Over` the element and wait `1.6` second).
- Undo(`Ctrl+Z`) Redo(`Ctrl+Y`) support.
- Pin the cut area on desktop(`Ctrl+P`), resize pin window by `Mouse Wheel`.
- Save to file(`Ctrl+S`) or clipboard(`Ctrl+C`).
- Multi-language support(`ScreenCapture.exe --lang:en_us`).
- Pin the clipboard image to the desktop(`ScreenCapture.exe --pin:clipboard`).
- set default save path(`ScreenCapture.exe --dir:"D:\doc"`).
- Very fast,Small memory footprint,Low CPU useage.
- Only one small executable file (3.8M,with out any dll).
- Can be easily integrated into any program.
- Powered by Skia.Chinese:
- 跨屏幕截图、高分屏支持、窗口区域高亮。
- 取景框,支持快捷键复制 RGB 颜色 (`Ctrl+R`)和 HEX 颜色(`Ctrl+H`)。
- 绘制填充、非填充的椭圆、正圆(`Shift`按下)、矩形、正方形(`Shift`按下)、箭头、排序标号(`拖拽`调整箭头方向和大小,`滚轮`调整大小)。
- 画曲线、直线(`Shift`按下)、半透明直线、马赛克、橡皮擦、文本(`滚轮`调整文字大小)。
- 可以随时修改已绘制的元素(鼠标移到元素上等待 `1.6` 秒)。
- 上一步(`Ctrl+Z`)、下一步(`Ctrl+Y`)。
- 在新窗口中钉住截图区域(`Ctrl+P`),鼠标`滚轮`改变钉图窗口大小。
- 保存成文件(`Ctrl+S`)、保存到剪切板(`Ctrl+C`)。
- 多语言支持(`ScreenCapture.exe --lang:en_us`)。
- 直接把剪切板内的图片钉在桌面上(`ScreenCapture.exe --pin:clipboard`)。
- 设置默认保存目录(`ScreenCapture.exe --dir:"D:\doc\测试目录"`)。
- 非常快、低内存消耗、低 CPU 使用率。
- 非常小、仅一个可执行文件(3.8M),无需安装,不依赖任何动态链接库。
- 可以非常容易的集成到其他应用中。
- 基于Skia。## Download(下载)
[Release](https://github.com/xland/ScreenCapture/releases/) (3.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.## Sponsorship(赞助)
alipay(支付宝支付)
wechat(微信支付)## Author(作者)
Author's Wechat QR code(作者微信)
Whether there is any topic to talk about, whether it is related to this product or not, I am very happy to meet you.
无论有没有要聊的话题,无论是不是与此产品有关的话题,都很开心能认识你。
## Licenses(版权)
This project is under the [MIT license](./licence).
## Stargazers over time
[![Stargazers over time](https://starchart.cc/xland/ScreenCapture.svg?variant=adaptive)](https://starchart.cc/xland/ScreenCapture)