Hello, I encountered some problems with importing a pixbuf into a Clutter Texture and displaying it. When trying to display a pixbuf created (using gdk.yaddi yaddi yadda) from an image with only 3 channels (no alpha channel) in Clutter, I only get a white rectangle. The dimensions are correct, however.
I'm using the python bindings and Clutter 0.4.2, although I've reproduced the issue with an existing C toy and the latest SVN version. By adding an alpha channel to the pixbuf using add_alpha(False, ...), the image does get displayed but the colors are off. I tried to display the same pixbuf in a simple gtk window using a gtk.Image, it works fine (with and without the added alpha channel). The following script and image can be used to reproduce the bug (?): http://exodus.xmms.se/~theefer/image-test-alpha.py http://exodus.xmms.se/~theefer/city.jpg Please let me know if I'm doing something wrong or if there is another way to show such images. Most images, e.g. photos, don't have an alpha channel; I suppose fluttr must do something magic because it does not suffer form this problem, but I couldn't figure out what it was.. Thanks for developing such a cool project, I'm looking forward to having fun with it as soon as this is solved! -- Sébastien Cevey - http://inso.cc/ -- To unsubscribe send a mail to [EMAIL PROTECTED]
