{"id":13570671,"url":"https://github.com/xland/ScreenCapture","last_synced_at":"2025-04-04T07:31:55.231Z","repository":{"id":153182209,"uuid":"625084443","full_name":"xland/ScreenCapture","owner":"xland","description":"A feature-rich screenshot program","archived":false,"fork":false,"pushed_at":"2025-03-03T07:32:07.000Z","size":7138,"stargazers_count":807,"open_issues_count":30,"forks_count":96,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-03-31T00:07:45.266Z","etag":null,"topics":["canvas","draw","paint","screencapture","screenshot"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xland.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T02:59:11.000Z","updated_at":"2025-03-28T15:33:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"aec167c0-05f2-4291-8b25-c61877beafe1","html_url":"https://github.com/xland/ScreenCapture","commit_stats":null,"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xland%2FScreenCapture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xland%2FScreenCapture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xland%2FScreenCapture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xland%2FScreenCapture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xland","download_url":"https://codeload.github.com/xland/ScreenCapture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247138803,"owners_count":20890109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","draw","paint","screencapture","screenshot"],"created_at":"2024-08-01T14:00:54.118Z","updated_at":"2025-04-04T07:31:50.223Z","avatar_url":"https://github.com/xland.png","language":"C++","funding_links":[],"categories":["C++","X11/Wayland"],"sub_categories":[],"readme":"The next major version (2.2.0) is developed in the main branch.\r\n\r\nThe last stable version is available in the [2.1.x](https://github.com/xland/ScreenCapture/tree/2.1.x) branch.\r\n\r\n![](./doc/banner.png)\r\n\r\n## Features（特性）\r\n\r\nEnglish:\r\n\r\n- Multi-screen capture, Cross screen shot.\r\n- Window area highlight.\r\n- Camera aperture,Copy pixel color:RGB(`Ctrl+R`),HEX(`Ctrl+H`).\r\n- Draw circle(`Shift` down),ellipse,square(`Shift` down),rectangle,arrow,ordered number by diffrent colors (fill or not fill).\r\n- Draw curve,straight line(`Shift` down),opacity line,mosaic,eraser,text(`Mouse Wheel` to change font size).\r\n- Modify the drawn elements at any time(`Mouse Over` the element and wait `1.6` second).\r\n- Undo(`Ctrl+Z`) Redo(`Ctrl+Y`) support.\r\n- Pin the cut area on desktop(`Ctrl+P`), resize pin window by `Mouse Wheel`.\r\n- Save to file(`Ctrl+S`) or clipboard(`Ctrl+C`).\r\n- Multi-language support(`ScreenCapture.exe --lang:en_us`).\r\n- Pin the clipboard image to the desktop(`ScreenCapture.exe --pin:clipboard`).\r\n- set default save path(`ScreenCapture.exe --dir:\"D:\\doc\"`).\r\n- Very fast,Small memory footprint,Low CPU useage.\r\n- Only one small executable file (3.8M，with out any dll).\r\n- Can be easily integrated into any program.\r\n- Powered by Skia.\r\n\r\nChinese:\r\n\r\n- 跨屏幕截图、高分屏支持、窗口区域高亮。\r\n- 取景框，支持快捷键复制 RGB 颜色 （`Ctrl+R`）和 HEX 颜色（`Ctrl+H`）。\r\n- 绘制填充、非填充的椭圆、正圆（`Shift`按下）、矩形、正方形（`Shift`按下）、箭头、排序标号（`拖拽`调整箭头方向和大小，`滚轮`调整大小）。\r\n- 画曲线、直线（`Shift`按下）、半透明直线、马赛克、橡皮擦、文本（`滚轮`调整文字大小）。\r\n- 可以随时修改已绘制的元素（鼠标移到元素上等待 `1.6` 秒）。\r\n- 上一步（`Ctrl+Z`）、下一步（`Ctrl+Y`）。\r\n- 在新窗口中钉住截图区域（`Ctrl+P`）,鼠标`滚轮`改变钉图窗口大小。\r\n- 保存成文件（`Ctrl+S`）、保存到剪切板（`Ctrl+C`）。\r\n- 多语言支持（`ScreenCapture.exe --lang:en_us`）。\r\n- 直接把剪切板内的图片钉在桌面上（`ScreenCapture.exe --pin:clipboard`）。\r\n- 设置默认保存目录（`ScreenCapture.exe --dir:\"D:\\doc\\测试目录\"`）。\r\n- 非常快、低内存消耗、低 CPU 使用率。\r\n- 非常小、仅一个可执行文件（3.8M），无需安装，不依赖任何动态链接库。\r\n- 可以非常容易的集成到其他应用中。\r\n- 基于Skia。\r\n\r\n\r\n## Download（下载）\r\n\r\n[Release](https://github.com/xland/ScreenCapture/releases/) (3.8M)\r\n\r\n## Integration（集成）\r\n\r\n(With Node.js Or Electron)\r\n\r\n```js\r\nlet spawn = require(\"child_process\").spawn;\r\nlet child = spawn(\"./path/to/ScreenCapture.exe\")\r\nchild.on(\"close\", (code) =\u003e {\r\n    /// when code is:\r\n    /// 0 undefined\r\n    /// 1 quit by press close btn;\r\n    /// 2 quit by press right mouse btn;\r\n    /// 3 quit by press esc keyboard\r\n    /// 4 quit when copy rgb color\r\n    /// 5 quit when copy hex color\r\n    /// 6 quit when save to file\r\n    /// 7 quit when save to clipboard\r\n    console.log(\"the quit code is:\",code)\r\n});\r\n```\r\n\r\n## Support OS（支持的操作系统）\r\n\r\n- Windows 10 1607 or Later\r\n\r\n## HotKey（快捷键）\r\n\r\n- Download [AutoHotKey](https://www.autohotkey.com/) and install it.\r\n- Create a `.ahk` script file in `Startup` folder and set the file's content:\r\n```c\r\n/*\r\nC:\\Users\\[UserName]\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\ScreenCapture.ahk\r\n^  :  Ctrl\r\n!  :  Alt\r\n+  :  Shift\r\n#  :  Win\r\nThe hotkey is Ctrl+Alt+A \r\n*/\r\n^!A::Run \"D:\\path\\to\\ScreenCapture.exe\"\r\n```\r\n- Double Click the `.ahk` file,then you can start the `ScreenCapture.exe` by press `Ctrl+Alt+A`.\r\n- The `.ahk` script will be executed when the system startup.\r\n\r\n\r\n## Sponsorship（赞助）\r\n\r\n\r\n\u003cimg src=\"./doc/alipay.jpg\" style=\"width:160px;height:160px;\" /\u003e\u003cbr /\u003e\r\nalipay(支付宝支付)\r\n\r\n\r\n\u003cimg src=\"./doc/wechat.png\" style=\"width:160px;height:160px;\" /\u003e\u003cbr /\u003e\r\nwechat(微信支付)\r\n\r\n\r\n## Author（作者）\r\n\r\n\u003cimg src=\"./doc/author.jpg\" style=\"width:160px;height:160px;\" /\u003e\r\n\r\nAuthor's Wechat QR code（作者微信）\r\n\r\nWhether there is any topic to talk about, whether it is related to this product or not, I am very happy to meet you.\r\n\r\n无论有没有要聊的话题，无论是不是与此产品有关的话题，都很开心能认识你。\r\n\r\n## Licenses（版权）\r\n\r\nThis project is under the [MIT license](./licence).\r\n\r\n\r\n## Stargazers over time\r\n[![Stargazers over time](https://starchart.cc/xland/ScreenCapture.svg?variant=adaptive)](https://starchart.cc/xland/ScreenCapture)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxland%2FScreenCapture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxland%2FScreenCapture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxland%2FScreenCapture/lists"}