A command-line screenshot maker
When googling for a command-line screenshot maker, all I found was a bloated 3 MB tool and this nifty piece of code.
So I took it and added some command line options I needed:
-filename "my screeny.png" file name (default: screenshot.png) -encoder png file encoder: bmp/jpeg/gif/tiff/png (default: png) -quality 100 file quality for jpeg (between 0 and 100) -resize 50 image size, % of the original size (between 1 and 99)
Perhaps it’s gonna be useful to others, so I’m releasing it.
The code and a compiled binary are attached.
binary.rar (20.24 KB)
Posted in Programming by RaMMicHaeL at November 16th, 2009.