Fast screenshots on Wayland

This page summarizes the projects mentioned and recommended in the original post on /r/learnrust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • slurp

    Select a region in a Wayland compositor

  • If you're calling an external process anyway, maybe https://sr.ht/~emersion/grim/ suits your use case better? It can be chained with https://github.com/emersion/slurp to select a screen region with the mouse, if that's necessary.

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

  • As for crates, I haven't used https://github.com/nashaofu/screenshots-rs but it seems like it may do what you want? I found it by searching "rust wayland screenshot" on Google. It is apparently not the same library as the 'screenshots-rs' crate on crates.io, though

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • crates.io

    The Rust package registry

  • As for crates, I haven't used https://github.com/nashaofu/screenshots-rs but it seems like it may do what you want? I found it by searching "rust wayland screenshot" on Google. It is apparently not the same library as the 'screenshots-rs' crate on crates.io, though

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts