Re: [pygtk] Convert RGBA to BGRA using standard library?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux