capture a part of the screen

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
denis012
Posts: 1
Joined: 2015-02-28T01:05:07-07:00
Authentication code: 6789

capture a part of the screen

Post by denis012 »

Hi,
How do i take a screenshot or capture a part of the screen with the imagemagick?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: capture a part of the screen

Post 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
snibgo's IM pages: im.snibgo.com
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: capture a part of the screen

Post by dlemstra »

I later version of ImageMagick you can do the following on both Windows and *nix:

Code: Select all

convert screenshot: out.png
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: capture a part of the screen

Post 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?
snibgo's IM pages: im.snibgo.com
Post Reply