Hi guys!
I'm working on a small program and want to do the following things:
Create a window with transparency, which means the user could see what's
behind the window.
If the above is not possible, I want t manually draw what's behind the
window onto the window.
And I'm currently using PIL.ImageGrab, it could do a job like 'take a
screenshot'.
But I'm have problems on using the image I get from ImageGrab (which is a
PIL.Image.Image instance). How should I put the image data onto the window?
I've tried to create a image using
a = pyglet.image.create(1366, 768)
and set the image data by
a.set_data('RGB', -1366*3, image.getdata())
, but they does not work.
So it's there a way to create a window with transparency? If not, how
should I simulate this effect?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.