Python Forum
[Tkinter] LANCZOS
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] LANCZOS
#3
Thanks Gribouillis.
Runs smoothly on win 11 and win 10.
Win 10 still produces the message:
Output:
Warning (from warnings module): File "C:\VVF\20220523\search.py", line 129 resized_img = img.resize((newW,newH),Image.LANCZOS) DeprecationWarning: LANCZOS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
I also import PIL:
Output:
from PIL import ImageTk, Image
Not a big deal, but why refer to a release that is a year away?
thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
LANCZOS - by DPaul - May-28-2022, 06:37 AM
RE: LANCZOS - by Gribouillis - May-28-2022, 07:16 AM
RE: LANCZOS - by DPaul - May-28-2022, 07:48 AM
RE: LANCZOS - by Gribouillis - May-28-2022, 09:19 AM
RE: LANCZOS - by DPaul - May-28-2022, 09:35 AM
RE: LANCZOS - by Gribouillis - May-28-2022, 11:58 AM
RE: LANCZOS - by DPaul - May-30-2022, 06:24 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020