Page 1 of 1

capture a part of the screen

Posted: 2008-11-02T23:13:02-07:00
by thefalling
How do i take a screenshot or capture a part of the screen with the imagemagick programmable interface?

Re: capture a part of the screen

Posted: 2008-11-03T14:19:45-07:00
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

Re: capture a part of the screen

Posted: 2008-11-03T14:58:12-07:00
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.

Re: capture a part of the screen

Posted: 2008-11-15T11:45:50-07:00
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.