[Image-SIG] Conversion to ARGB format.

Rodrigo Dias Arruda Senra rsenra at acm.org
Wed Jan 30 02:54:39 CET 2008


[ KwangYul Seo ]:
---------------------
>Hi,
>
>Is it possible to convert a RGB image to ARGB format?  The following
>code did not work.
>
>import PIL.Image
>im = PIL.Imageim.new("RGB", (100, 100))
>im.convert("ARGB")

Hi, 
 have you tried RGBA instead of ARGB ?

cheers,
Senra


More information about the Image-SIG mailing list