On Tue, 11 Mar 2003, Asim Ajmal wrote:
> hello All,
>
> i hope you must be fine. I am Asim Ajmal from Landmark Resources
> (www.lmkr.com) Islamabad, Pakistan.
>
> I need some help to capture the screen in linux in .xwd form. I know that
> XWD command exist in Linux OS but i need its implementation. i had
> developed a solaris based screen capture utility for 24bit depth for
> XRunner (a Mercury interactive product). Initialy i used XGetImage API to
> capture the screen, but in case of overlaps of different visuals/depth
> windows there was some distortion in results, so i used XReadScreen() API,
> but that API was specific to solaris, this API takes screen shots in 24bit
> depth, and in case of multiple depth/visuals overlaps it takes screen shot
> in highest depth available, just as XWD command do in unix.
>
> now i have to implement same thing on Linux, i cant port the solaris code
> beacuse XReadScreen() is specific to solaris. Can you tell me any alternate
> API in Linux? XGetImage is fine in case of same visuals overlap, but
> different visuals overlap it is not desirable. If you know any API like
> XReadScreen then please let me know, or any help in this regard.
>
XFree86 has no such screen grabbing extension. I wasn't aware
that Solaris had one, but I know that SGI had one. I should probably
write one some day. Perhaps Keith Packard could add something to the
render extension?
Mark.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86