libharuhishot

Crates.iolibharuhishot
lib.rslibharuhishot
version0.5.0
created_at2023-06-29 08:58:22.225876+00
updated_at2025-06-09 14:17:31.081997+00
descriptionimpl screencopy for wayland
homepagehttps://github.com/Decodetalkers/haruhishot
repository
max_upload_size
id903086
size55,687
Access (Decodetalkers)

documentation

https://docs.rs/libharuhishot/

README

libharuhishot

libharuhishot, it is used for wlr-screencopy, split it because I want to help with wayshot, but I also learn a lot. I like my program very much, because it makes me feel alive. Wayshot is a good program, please help them.

The lib is simple enough to use, you can take the haruhishot for example, simple usage is like

use libharuhishot::HaruhiShotState;
fn main() {
  let mut state = HaruhiShotState::init().unwrap();
  let outputs = state.outputs();
  let output = outputs[0].clone();
  let image_info = state.shot_single_output(output).unwrap();
}

Then you will get a [FrameInfo], There is a mmap , you can get data there

Commit count: 0

cargo fmt