[Image-SIG] Re: ImageTk.PhotoImage vs. Tkinter.PhotoImage

Les Schaffer godzilla@netmeg.net
Wed, 29 Sep 1999 08:47:20 -0400


At 12:38 PM 9/29/99 +0200, Comrade Fredrik Lundh opined:

->        # display subregion
->        im = self.image.transform(
->            (512, 512), Image.EXTENT,
->            (12.5, 12.5, 27.5, 27.5)
->            )
->        self.setimage(im)


my first solution was to use crop() followed by a resize(). will try the
transform() next for comparison.

still, the more illuminating topic would be why the parallel design of
PhotoImage in both Tkinter and ImageTk? why doesnt the latter inherit the
former. why do they co-exist side by side?

PIL is one great package. i am already doing useful stuff one day after
"""""learning""""" PIL.

les