DeprecationWarning: ANTIALIAS is deprecated
See original GitHub issuescrapy/pipelines/images.py:163: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead. image.thumbnail(size, self._Image.ANTIALIAS)
This is deprecated since Pillow 9.1.0, released in April. We should check if Resampling.LANCZOS
is already available in the earliest version we support (7.1.0 as far as I can see), and use it if it’s available there. If it was added later, I think we need to decide how to proceed.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Help! Pillow Deprecation Warning : r/learnpython - Reddit
DeprecationWarning : ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
Read more >Deprecations and removals - Pillow (PIL Fork) 9.3.0 ...
This page lists Pillow features that are deprecated, or have been removed in past major releases, and gives the alternatives to use instead....
Read more >antialias is deprecated and will be removed in pillow 10 (2023 ...
DeprecationWarning : ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead. Open side panel.
Read more >Pillow/deprecations.rst at main - GitHub
This page lists Pillow features that are deprecated, or have been removed in past major releases, and gives the alternatives to use instead....
Read more >How do I resize an image using PIL and maintain its aspect ...
resize that instead returns the resized image without changing the original one. EDIT: Image.ANTIALIAS raises a deprecation warning, and will be removed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
But I said “use Resampling.LANCZOS if it’s available”.
It’s only about Image.LANCZOS which is deprecated in favor of Image.Resampling.LANCZOS as well.
Sure, will do it.