nashaofu / xcap

XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented).
https://docs.rs/xcap
Apache License 2.0
459 stars 55 forks source link

感觉速度有点慢 #147

Closed codexu closed 3 weeks ago

codexu commented 3 weeks ago

目前只想实现截取主屏幕的图像,但是截图时间高达4秒,请问有什么办法优化嘛?

Mac M2

codexu commented 3 weeks ago

好像是开发环境会很慢,打包后就很快了