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 immediate source. like most PIL operations, "convert" returns a *new* image object. </F> _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig