We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pillow
>=10.0.0
1 parent 17baaa2 commit 23b1891Copy full SHA for 23b1891
pyproject.toml
@@ -92,7 +92,7 @@ doc = [
92
"sphinxext_altair",
93
"jinja2",
94
"numpydoc",
95
- "pillow>=9,<10",
+ "pillow",
96
"pydata-sphinx-theme>=0.14.1",
97
"myst-parser",
98
"sphinx_copybutton",
sphinxext/utils.py
@@ -30,7 +30,7 @@ def create_thumbnail(
30
final_height = height
31
final_width = int(im_width * height_factor)
32
33
- thumb = im.resize((final_width, final_height), Image.ANTIALIAS)
+ thumb = im.resize((final_width, final_height), Image.Resampling.LANCZOS)
34
thumb.save(thumb_filename)
35
36
0 commit comments