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

to_png function updated to improve usability. #58

Closed drp4rad0x closed 1 year ago

drp4rad0x commented 1 year ago

Now user can use value of Compression enum directly without using Some(). Readme and example updated accordingly