Re: BUG? PIL does not recognise alpha channel in attached png file

"Laura & Edward Cannon" <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
I confirm the results PIL 1.16 Python 2.5.2
Seems pretty odd. What program did you use to create the image?

On Mon, Jan 25, 2010 at 8:50 PM, Root <[email protected]> wrote:
> Hi,
>
> The attached image shows an alpha channel when viewed with gimp or eog, but
> not when loading with PIL (version 1.1.6-3ubuntu1 as supplied with Ubuntu
> Karmic AMD64 Desktop):
>
>
>>>> import Image
>>>> im = Image.open("seabreeze.png")
>>>> print im.format
> PNG
>>>> print im.size
> (599, 264)
>>>> print im.mode
> RGB
>
>
> When I save the file using im.save(), and then open with gimp or eog, the
> alpha channel is removed (to be expected given that the mode is read as
> RGB).
>
> Is this is a bug?
>
>
> Cheers,
> Justin.
>
> _______________________________________________
> Image-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/image-sig
>
>
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.