[Image-SIG] Conversion to ARGB format.

Alec Bennett wrybread at gmail.com
Wed Jan 30 07:34:22 CET 2008


im = Image.open("whatever.jpg").convert('RGBA')



2008/1/29 KwangYul Seo <kwangyul.seo at gmail.com>:
> 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")
>
>
> Thanks,
>  Kwang Yul Seo
>
>
> _______________________________________________
> Image-SIG maillist  -  Image-SIG at python.org
> http://mail.python.org/mailman/listinfo/image-sig
>
>


More information about the Image-SIG mailing list