Hi all:
    I am a newbie for XFREE86 programming, now I am doing something with 
XFree86 in my project(software design recovery)... Can someone give me some 
hints to start my XFree programming career :) .
    Here is what I need to do, it sounds simple......
    I run an application, this application pops up a window.
    1.I have the process ID for this application, how can convert this 
process ID to the windowsID of X??(I can get that window id from xwininfo 
though..)
    2.I want to capture the screenshot of a given window (ID), it is easy by 
using xwd. However, any api can help me capture the screenshot in my 
code(rather than doing system call for xwd?)
    3.I need to compare the changes of two screenshots (saying capture the 
application window in different time spots, and compare the changes of two 
pictures). Which graph format is recommended?
    Heaps of thanks!

Cheers
Leo



If God hadn't wanted me to be paranoid,
He wouldn't have given me such a vivid imagination....

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to