How to take screenshot of specific window in linux using "MAGICKWAND" API ?
- by user248674
Please correct my syntax
For taking screenshot of entire window, am using
status=MagickReadImage(magick_wand,"x:");
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.........