Tkinter with PIL crashing on large images - help

Fredrik Lundh fredrik at pythonware.com
Tue Mar 13 14:38:55 EST 2001


Joel Gould wrote:
> Is this expected behavior?  If I load a 3.3 megapixel JPG file into a
> PIL (Python Image Library) PhotoImage object and then draw that on a
> Tkinter.Canvas object, Python crashes with an access violation (under
> WIndows 98).

fwiw, it works fine my Win2K box.

don't have time to dig up a Win98 box right now, but I suspect Tk's
running out of GDI resources in this case (under win9X).

Cheers /F





More information about the Python-list mailing list