node-screenshots icon indicating copy to clipboard operation
node-screenshots copied to clipboard

Zero-dependent. A native nodejs screenshots library for Mac、Windows、Linux.

Results 7 node-screenshots issues
Sort by recently updated
recently updated
newest added

captured by node-screenshots `captureSync`: ![image](https://github.com/nashaofu/node-screenshots/assets/19190199/c7b80713-166e-449d-89b7-7a99782c9787) captured by system screenshot: ![image](https://github.com/nashaofu/node-screenshots/assets/19190199/81e53978-9263-48d2-af4d-b2f961e36cd7)

由于我是基于Electron开发,打包时是做跨平台分发 当在Mac环境下打包arm64和64两个版本的包时,有这么一个问题: 我的Mac电脑是M1的芯片,打包后的文件为:node-screenshots.darwin-arm64.node,这种情况下是没错的 但是当我需要打包64位版本时,打包后出现的也是node-screenshots.darwin-arm64.node 我现在的解决办法时在windows的虚拟机上部署了mac系统,然后在虚拟机内打包的64位 而如果在虚拟机内打包arm64时,打包后出现的也是node-screenshots.darwin-64.node

![ef1a7e01a1e262c186451359449bbc0](https://user-images.githubusercontent.com/45414993/228441540-68295203-5dfe-44a2-a3e3-987424882315.png) Windows10的版本为专业版 如图所示,只要应用窗口页面引入了包:import { Screenshots } from 'node-screenshots' 在启动的时候,部分windows10系统就会提示图中的这个错误,导致应用无法启动 目前部分电脑的解决方案是重新更新了电脑dll库解决的,还有部分目前无法解决 这个有更好的解决方案吗?

想问一下后续能支持Linux arm64吗?

环境:electron21.3.0,win11 dev 25247 `js.js`: ```javascript const { Screenshots } = require('node-screenshots') // 获取所有屏幕截图 let all = Screenshots.all() ?? [] all.forEach(capturer => { console.log({ id: capturer.id, x: capturer.x, y: capturer.y, width:...

node-screenshots开发的背景是为了提高electron截图的性能吗?

\# rpm -qa|grep glibc glibc-2.17-292.el7.cgslv5.0.1.gf7a2c7a.i686 glibc-headers-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64 glibc-common-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64 compat-glibc-headers-2.12-4.el7.centos.x86_64 glibc-static-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64 glibc-devel-2.17-292.el7.cgslv5.0.1.gf7a2c7a.i686 compat-glibc-2.12-4.el7.centos.x86_64 glibc-devel-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64 glibc-2.17-292.el7.cgslv5.0.1.gf7a2c7a.x86_64 \# /opt/myprogram/myprogram --no-sandbox fn:/opt/myprogram/resources/app.asar/node_modules/ced/index.js module_root:/opt/myprogram/resources/app.asar/node_modules/ced A JavaScript error occurred in the main process Uncaught Exception: Error: /lib64/libc.so.6:...