Re: DeprecationWarning but replacement doesn't work

2023-02-05 Thread Chris Green
Roel Schroeven wrote: > Chris Green schreef op 4/02/2023 om 16:17: > > I am using Image from PIL and I'm getting a deprecation warning as > > follows:- > > > > /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is > > deprecated > and will be removed in Pillow 10 (2023-07-01). Use Re

Re: DeprecationWarning but replacement doesn't work

2023-02-04 Thread Roel Schroeven
Chris Green schreef op 4/02/2023 om 16:17: I am using Image from PIL and I'm getting a deprecation warning as follows:- /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead. But if I change l

Re: DeprecationWarning but replacement doesn't work

2023-02-04 Thread Chris Angelico
On Sun, 5 Feb 2023 at 07:52, Chris Green wrote: > > I am using Image from PIL and I'm getting a deprecation warning as > follows:- > > /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated > and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead. > >

DeprecationWarning but replacement doesn't work

2023-02-04 Thread Chris Green
I am using Image from PIL and I'm getting a deprecation warning as follows:- /home/chris/bin/picShrink.py:80: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead. The code is very simple:- ... ... from PIL import