[Image-SIG] Tcl/Tk 8.3.0?
Fredrik Lundh
fredrik@pythonware.com
Wed, 12 Apr 2000 13:12:06 +0200
Rob Hooft wrote:
> I have tried to use Tcl/Tk 8.3.0 with PIL under the CVS version of
> python. The result is a core dump in ImageTk. Anything I can do about
> this except downgrading?
afaik, you're the first one trying PIL with both Tk 8.3.0 and
the new object-based Tk interface in 1.6a. I'm afraid I don't
have the slightest idea if the problem is in PIL, Tk 8.3, or the
new Tk interface...
you could try downgrading _tkinter.c only, and see if that
helps (check the logs to see which version to use; the object
changes was made a few weeks ago).
...
speaking of 1.6, note that there are a few broken "append"
calls in PIL 1.0, including these (as reported by checkappend):
.\PIL\JpegImagePlugin.py(90):
self.layer.append(t[0], ord(t[1])/16, ord(t[1])&15, ord(t[2]))
.\PIL\PcfFontFile.py(129):
p.append(i32(fp.read(4)), ord(fp.read(1)), i32(fp.read(4)))
.\PIL\TiffImagePlugin.py(213):
l.append(self.i32(data, i), self.i32(data, i+4))
.\PIL\TiffImagePlugin.py(491):
self.tile.append(
.\PIL\TiffImagePlugin.py(510):
self.tile.append(
adding extra () around the append arguments will fix this.
</F>