[ILUG] screen capture

Josh Glover jmglov at wmalumni.com
Thu Nov 9 21:55:42 GMT 2006


On 10/11/06, Walter Faleiro <curtorkar at gmail.com> wrote:

> On 11/10/06, Gavin McCullagh <gmccullagh at gmail.com> wrote:
>
> > ImageMagick provides the "import" command for grabbing a particular
> > window,
> > eg type
> >         import example_browser_windows.png
> >
> > then you'll see the mouse cursor change shape.  Click on the window you
> > want, listen for a beep and you're done.
>
> This works on an entire window, how about only a region capture program,

No, *this* works on an entire window--in this case, the root window:

import -window root screenshot_`date +%Y-%m-%d_%H-%M-%S`.png

The way that Gavin describes above:

import screenshot_`date +%Y-%m-%d_%H-%M-%S`.png

will allow you to select a region, as he says.

-Josh



More information about the ILUG mailing list