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.........
How to take screenshot of specific window in linux?
Re: How to take screenshot of specific window in linux?
We're using ImageMagick 6.6.2-5 and this API call:
- status=MagickReadImage(magick_wand,"x:0x2800036");
Re: How to take screenshot of specific window in linux?
Thanks, i used x:root. then croped the desired portion.