[Image-SIG] Bug in ImageWin (display.c)

2008-10-30 Thread Noboru Uchida
Excuse my poor English. Problem: Dib.draw() fails occasionally and raises Overflow Error. Reason: In display.c, Window Handles(HWND) and Device Contexts(HDC) are both declared as "int". HWND/HDC arguments are parsed by PyArg_ParseTuple(), using format "i". "i" converts Python integer to plain C

[Image-SIG] Animated GIF problem

2008-11-13 Thread Noboru Uchida
Hi. Excuse my poor English. * Problem: Some animated GIFs can't be played properly. You can see this using "player.py" sample script and Animated GIF files, which doesn't have per-frame palettes. When playing back Animated GIFs, you can use Image.seek(), then you call Image.paste() or something.

Re: [Image-SIG] Animated GIF problem

2008-11-16 Thread Noboru Uchida
Some more explanation. At least, when the disposal method is 2 or 3, C implemantation object is destroyed and replaced with a new one when seeking to next frame. So, palette needs be passed to it, even when the same palette is used. Another problem. wxPython's demo example AG00028_.gif can't be