How to take screenshot of specific window in linux using "MAGICKWAND" API ?

Posted by user248674 on Stack Overflow See other posts from Stack Overflow or by user248674
Published on 2010-06-17T19:30:58Z Indexed on 2010/06/17 19:33 UTC
Read the original article Hit count: 132

Filed under:
|

Please correct my syntax

  1. For taking screenshot of entire window, am using status=MagickReadImage(magick_wand,"x:");

  2. For taking snap of a particular window I used status=MagickReadImage(magick_wand,"x:$WINDOWID");

Both are reporting syntax errors, but if I pass file names as second parameters then it is compiling without any failure. Please correct me. Thanks.........

© Stack Overflow or respective owner

Related posts about imagemagick

Related posts about magickwand