Re: [Image-SIG] format is None after convert('RGB')

2008-01-19 Thread Fredrik Lundh
Vitaliyi wrote: > from PIL import Image > img = Image.open('/tmp/tst.png') > > #after following conversion format is unknown. is it correct ? > if img.mode != 'RGB': > img = img.convert('RGB') > > P.S. I'm using python-imaging 1.1.6-1 (from debian) the "format" attribute only reflects the i

[Image-SIG] format is None after convert('RGB')

2008-01-19 Thread Vitaliyi
Hi """ from PIL import Image img = Image.open('/tmp/tst.png') #after following conversion format is unknown. is it correct ? if img.mode != 'RGB': img = img.convert('RGB') P.S. I'm using python-imaging 1.1.6-1 (from debian) Thanks ___ Image-SIG ma