#x11 #x #screenshot #screen #display

rxscreen

A wrapper around libx11 to capture screenshots and save them

3 releases

0.1.3 Mar 4, 2021
0.1.2 Mar 3, 2021
0.1.0 Mar 3, 2021

#274 in Unix APIs

22 downloads per month

MIT license

10KB
189 lines

rxscreen

A simple wrapper over libx11 to take screenshots

Dependencies

  • libx11

Features

  • save (save screenshots directly to file)

Similar projects

Performance

This implementation has some flaws and potential to be optimized, but i'd consider it well enough.

Do mind though, that saving screenshots with the save feature may take multiple seconds without optimizations enabled. With opt-level 3, the process takes a fraction of the time (on my system 12 secs without optimizations, 0.2 seconds with opt-level 3)

Dependencies

~0–0.9MB
~11K SLoC