Re: [Image-SIG] No "transparency" key in info for transparent PNG

2008-09-28 Thread Laura & Edward Cannon
As far as I can tell, you should be able to determine whether or not the image has transparency by looking at the mode. if it is RGBA or LA it has transparency, otherwise it does not. If you need to know what parts are transparent, look at the mask, obtained by im.split() On Sun, Sep 28, 2008 at 4

[Image-SIG] No "transparency" key in info for transparent PNG

2008-09-28 Thread Szymon Kosok
Hello, I have transparent PNG (when I open it in Photoshop it's transparent) and when I try to open it with PIL there is no "transparency" key in info. I've tried another transparent PNG (famfamfam icon) and no luck with that too. What can cause that problem? Mode is "RGBA". Best regards, Szymon