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).

Home Page:https://docs.rs/xcap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wayland/KDE支持

mokurin000 opened this issue · comments

commented

dbus接口:org.kde.KWin.ScreenShot2

  1. mkfifo 创建pipe文件
  2. 调用 CaptureArea
  3. 读取