[Image-SIG] How to deal with BGRA color model in PIL?

john taylor x12345jp at yahoo.com.hk
Tue Oct 4 16:30:57 CEST 2005


hi all,

i have a string of pixel values, which uses the BGRA
color model, is there an easy way (hopefully the most
efficient way) to convert it into the RGBA model, so
that the image can be displayed correctly?

thanks a lot!

john


More information about the Image-SIG mailing list