Page 1 of 1

capture a part of the screen

Posted: 2015-02-28T01:06:58-07:00
by denis012
Hi,
How do i take a screenshot or capture a part of the screen with the imagemagick?

Re: capture a part of the screen

Posted: 2015-02-28T04:02:51-07:00
by snibgo
It depends on your platform: Windows, Unix or whatever.

On Windows, I do it via the clipboard. Hit the PrtSc key, then:

Code: Select all

convert clipboard: out.png

Re: capture a part of the screen

Posted: 2015-02-28T15:46:58-07:00
by dlemstra
I later version of ImageMagick you can do the following on both Windows and *nix:

Code: Select all

convert screenshot: out.png

Re: capture a part of the screen

Posted: 2015-02-28T16:23:59-07:00
by snibgo
Ah, yes, I'd forgotten "screenshot:". It isn't mentioned on http://www.imagemagick.org/script/formats.php . Could someone add it to the page, please?