A quick screenshot script; it writes the screen contents as a PNG to the given path, or to stdout if no path is given.
This is a small amount of code, but seemed generally useful enough -- and a simple enough usage of the library -- to be worth contributing. But if y'all disagree I don't feel super strongly about it.
A quick screenshot script; it writes the screen contents as a PNG to the given path, or to stdout if no path is given.
This is a small amount of code, but seemed generally useful enough -- and a simple enough usage of the library -- to be worth contributing. But if y'all disagree I don't feel super strongly about it.