scrot (SCReenshOT) is a simple command line screen capture
utility that uses imlib2 to grab and save images. Multiple
image formats are supported through imlib2's dynamic saver
modules.

Homepage:
https://github.com/resurrecting-open-source-projects/scrot
