Hi Danny

Thanks for your reply - for some reason my mail client buried it so I
just found it by chance on Google!

I am doing quite well writing a bmp header, and can get something
recognizably like the string I pass in from
gtk.gdk.Pixbuf.get_pixels() . My problem is that the colours are
screwed up. This might be because my images have an alpha channel, or
it may be something to do with the format of the image data - is the
string returned by pixbuf.get_pixels() indexed data?

Code attached.

Cheers
David

Attachment: pytest.py
Description: application/python

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to