pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Screen capture?



On 8/1/14, 7:53 PM, Paul Goyette wrote:
> Is there a utility available to capture either the entire root window or
> a specific window and save it to a graphics (bmp, jpg) file?  A quick
> scan of pkgsrc.se reveals xvidcap but I'm not really looking to capture
> the movement in an area;  I just want a snapshot of the display!
> 
> Thanks in advance.

Hi, Paul.

The import program provided by graphics/GraphicsMagick or
graphics/ImageMagick from Pkgsrc can do that.

Capture window:
$ import screenshot.png

Capture window with frame:
$ import -frame screenshot.png

Capture entire root window:
$ import -window root screenshot.png

Lewis


Home | Main Index | Thread Index | Old Index