[Tkinter-discuss] Using PIL with Tkimg
Fredrik Lundh
fredrik at pythonware.com
Sun Jan 7 13:42:11 CET 2007
Michael Lange wrote:
> I want to display different image formats in a Tkinter.Canvas and be
> able to scale the images to a requested size. I noticed that some images
> look better when using Tkimg than with PIL, which just seems to
> do an on-the-fly conversion into GIF (is this correct?)
nope.
> which sometimes results in a significant loss of quality.
are you perhaps using nearest-neighbour filtering? try using BILINEAR
(or, if you have the CPU, ANTIALIAS) instead.
</F>
More information about the Tkinter-discuss
mailing list