425de6e3fe
This patch will fail to apply when a new version comes out, and thus will force us to remove it, where the `sed` command in `postPatch` may become abandoned, and not fail the build due to it not doing anything.
13 lines
516 B
Diff
13 lines
516 B
Diff
diff --git i/beets/util/artresizer.py w/beets/util/artresizer.py
|
|
index 8683e228..6f99c79e 100644
|
|
--- i/beets/util/artresizer.py
|
|
+++ w/beets/util/artresizer.py
|
|
@@ -72,7 +72,7 @@ def pil_resize(maxwidth, path_in, path_out=None, quality=0, max_filesize=0):
|
|
try:
|
|
im = Image.open(util.syspath(path_in))
|
|
size = maxwidth, maxwidth
|
|
- im.thumbnail(size, Image.ANTIALIAS)
|
|
+ im.thumbnail(size, Image.Resampling.LANCZOS)
|
|
|
|
if quality == 0:
|
|
# Use PIL's default quality.
|