[Image-SIG] Re: Corrupted GIF output when dimensions are small
Fredrik Lundh
fredrik at pythonware.com
Tue Feb 24 18:00:07 EST 2004
Paul Winkler wrote:
> It's odd that increasing the height of the image above 5 fixes the gif.
> Further experimentation suggests that I get bad output with the
> above method for ANY gif of height < 5 OR width < 2.
>
> Any idea how to fix this? The GIF stuff for PIL appears to all
> be in C and I have no idea where to start.
this appears to be a bug related to interlaced encoding.
as a workaround, you can pass in "interlace=0" to the save method.
img.save(where, interlace=0)
</F>
More information about the Image-SIG
mailing list