I do not know how anyone, but for some time I was looking for such a program so that it would take a screenshot on command from the command line (which would allow, for example, to take a screenshot from a script). And some time ago I found it and now I successfully use it. It works smoothly - for example, it gives me an instant screenshot every time a test script gets “fail” as a result of some single test. Conveniently - then I can immediately view it (links to screenshots are displayed in the html report under each fail).
The program is called
MiniCap . Despite the presence of some kind of user interface, first of all, it is valuable in that it allows you to do without it, and do everything (within its modest possibilities, of course) from the command line.
In the command line, I (more precisely, the script that uses it) set the region to be copied, the -exit key (to close the program as soon as the screenshot is ready), and the key with the file name. Interestingly, depending on the extension of the output file, an image file of the appropriate format is created (png, jpg, gif, pdf, bmp, tiff are supported).
')
I use it every day, and have never seen its interface, which pleases. I understand that for sure there are a lot of utilities better, but have not yet found it, but this one suits me. I hope someone will come in handy.
Update . The program is only for Windows, unfortunately. I checked on XP and Vista, and
here they write what works on XP, 2000, 9.x, Vista, 7.