Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sslime-s/xcap-all-screens-screenshot-example
https://github.com/sslime-s/xcap-all-screens-screenshot-example
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sslime-s/xcap-all-screens-screenshot-example
- Owner: SSlime-s
- Created: 2024-12-31T03:40:52.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-31T03:46:15.000Z (about 1 month ago)
- Last Synced: 2024-12-31T04:30:12.875Z (about 1 month ago)
- Language: Rust
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xcap-all-screens-screenshot-example
Demonstrates capturing screenshots of all screens using the `xcap` crate in Rust.
Run with `cargo run`. However, a release build is **recommended** as debug builds are significantly slower:
```bash
cargo run --release
```Captures screenshots of all connected screens and saves them to the current directory.
Captures screenshots of all available screens, similar to how `screenshots::capture_area()` can be used to capture a specific area.
Provides functionality comparable to `mss.mss()` in Python's `mss` library, capturing full screenshots of each display.