[Image-SIG] Problem with optimize flag and GIF encoder

2009-12-06 Thread Ian Ward
Hello, I am running python 2.5 and PIL 1.1.6 on Debian Lenny, and I've found that using the optimize flag when creating GIF files can create invalid images. An example: >>> im = Image.new('RGB', (20,44)) >>> im.save('test.gif', optimize=True) >>> im2 = Image.open('test.gif') Traceback (most rece

Re: [Image-SIG] Problem with optimize flag and GIF encoder

2009-11-29 Thread Ian Ward
It is listed under 1.2a3/1.2b1 here: http://effbot.org/zone/pil-changes-113.htm But you're right, I might suggest they generate png thumbnails instead. Ian Fredrik Lundh wrote: Hmm. PIL doesn't officially support "optimize" for GIF files: http://effbot.org/imagingbook/format-gif.htm so

Re: [Image-SIG] Problem with optimize flag and GIF encoder

2009-11-29 Thread Fredrik Lundh
Hmm. PIL doesn't officially support "optimize" for GIF files: http://effbot.org/imagingbook/format-gif.htm so maybe this is some partially implemented feature that's been hiding in there for ages. I'm not sure GIF is such a great format for thumbnails anyway; maybe the toolkit should be twe

[Image-SIG] Problem with optimize flag and GIF encoder

2009-11-28 Thread Ian Ward
Hello, I am running python 2.5 and PIL 1.1.6 on Debian Lenny, and I've found that using the optimize flag when creating GIF files can create invalid images. An example: >>> im = Image.new('RGB', (20,44)) >>> im.save('test.gif', optimize=True) >>> im2 = Image.open('test.gif') Traceback (most rece