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
thefalling

capture a part of the screen

Post by thefalling »

How do i take a screenshot or capture a part of the screen with the imagemagick programmable interface?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: capture a part of the screen

Post by fmw42 »

thefalling wrote:How do i take a screenshot or capture a part of the screen with the imagemagick programmable interface?
I don't know what you mean by "programmable interface", but you can look here for screen capture:

http://www.imagemagick.org/Usage/files/#x
thefalling

Re: capture a part of the screen

Post by thefalling »

Whoops, meant "programming interface"

basically I wanna be able capture parts of the screen and redirect it to an ocr engine in c/c++. I wanna do it with the API rather than doing a system() call and using import.
thefalling

Re: capture a part of the screen

Post by thefalling »

Well i figured out how to capture the screen with magick++ by using x: in the filename, but I still dont know how to set Window to root or some window.
Post Reply