Link to home
Start Free TrialLog in
Avatar of asimz77
asimz77

asked on

need some help... about XWD

hello everyone,

i hope you must be fine. I am Asim Ajmal from Landmark Resources (www.lmkr.com) Islamabad, Pakistan. I am working as a  software developer over need some help... about XWDhere.

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.

i tried to search the source code of xwd and xwud (on linux) at /usr/src but i m helpless. waiting for relevant reply.

Thanx.

Asim Ajmal
Software Developer
LMK Resources,
A Landmark Graphics Affiliated Company
E-mail: <##e-mail removed by majorwoo, EE Page Editor##>
Phone: <##phone removed by majorwoo, EE Page Editor##>
Fax: <##phone removed by majorwoo, EE Page Editor##>
Cell: <##phone removed by majorwoo, EE Page Editor##>
http://www.lmkr.com
ASKER CERTIFIED SOLUTION
Avatar of Gns
Gns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Gns
Gns

try GIMP http://www.gimp.org this program can take screenshots with very good results..

asimz77:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
Interpreting the question as asking for relevant example source code, this question has been answered in adequate detail by me.

-- Glenn