towb@xxxxxxxxxx wrote:
I may be misunderstanding, but you just want to swap some bytes? And the only problem is performance due to strings being immutable? Try http://docs.python.org/library/array.html
I don't want to swap *all* of the bytes, only exchange the R and B, so array.byteswap() isn't quite right. However, you've got me thinking about a potential solution using the array module, thanks. -- Greg _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list