Skip to content

Commit

Permalink
Update reference to resampling filter
Browse files Browse the repository at this point in the history
  • Loading branch information
153957 committed Jul 4, 2024
1 parent d59326b commit 953dcce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion time_lapse/thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def create_thumbnail(
with Image.open(poster_path) as image:
image.resize(
size=(width, height),
resample=Image.LANCZOS,
resample=Image.Resampling.LANCZOS,
).save(
thumbnail_path,
compress=False,
Expand Down

0 comments on commit 953dcce

Please sign in to comment.