1 Star 0 Fork 35

wangyi/ScreenCapture

forked from horsejs/ScreenCapture 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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 (1.8M)

Integration

(With Node.js Or Electron)

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 and install it.
  • Create a .ahk script file in Startup folder and set the file's content:
/*
    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.

Blend2D is used in this project.

Please also comply with Blend2d's Zlib open source license.

Copyright (c) LiuXiaolun(刘晓伦) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

多屏幕截图、跨屏幕截图 常规绘图功能 马赛克、橡皮擦 上一步、下一步 保存成文件、保存到剪切板 取景框(支持快捷键复制RGB颜色和HEX颜色) 非常快、低内存消耗、低CPU使用率. 非常小、仅一个可执行文件,无动态链接库. 可以非常容易的集成到其他应用中. 展开 收起
C++
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yi1wang_1/ScreenCapture.git
git@gitee.com:yi1wang_1/ScreenCapture.git
yi1wang_1
ScreenCapture
ScreenCapture
blend2d

搜索帮助