[Image-SIG] PIL Pixmap from XLIB Pixmap

cyril giraudon cyril.giraudon at free.fr
Tue Sep 11 17:26:25 CEST 2007


I 'm currently trying to write a xulrunner windowless plugin in python.
Data are drawn in a xlib pixmap (a XID).

I 'd like to know if it's possible to create a PIL image from XLIB
Pixmap XID ?
And then expose the image into this pximap.

Under windows, plugins uses an HDC. PIL can expose images in HDC object,
I 'd like the same behaviour under UNIX.

Thanks a lot,


More information about the Image-SIG mailing list