7 releases

0.3.1 Dec 4, 2020
0.3.0 Oct 24, 2019
0.2.3 Oct 24, 2019
0.2.2 Jun 13, 2017
0.1.0 Nov 13, 2016

#558 in GUI

Download history 40/week @ 2024-07-19 32/week @ 2024-07-26 28/week @ 2024-08-02 34/week @ 2024-08-09 20/week @ 2024-08-16 15/week @ 2024-08-23 19/week @ 2024-08-30 11/week @ 2024-09-06 4/week @ 2024-09-13 57/week @ 2024-09-20 64/week @ 2024-09-27 20/week @ 2024-10-04 26/week @ 2024-10-11 8/week @ 2024-10-18 26/week @ 2024-10-25 15/week @ 2024-11-01

77 downloads per month
Used in helion

AGPL-3.0

16KB
130 lines

captrs

Library for cross-platform screen capture in Rust. Uses dxgcap for capture on Windows via the Desktop Duplication API, and X11Cap for capture on Linux via xlib::XGetImage.

License

AGPLv3

Copyright (C) 2019 Johan Johansson

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

See LICENSE


lib.rs:

Cross-platform screen capture. Uses DXGI desktop-duplication on Windows, and X11 (xlib, XGetImage) on *nix

Dependencies

~400–630KB
~10K SLoC