diff --git a/octoprint_octolapse/snapshot.py b/octoprint_octolapse/snapshot.py index 30fc37ad..7323d175 100644 --- a/octoprint_octolapse/snapshot.py +++ b/octoprint_octolapse/snapshot.py @@ -482,7 +482,7 @@ def create_thumbnail(self): with Image.open(latest_snapshot_path) as img: wpercent = (basewidth / float(img.size[0])) hsize = int((float(img.size[1]) * float(wpercent))) - img.thumbnail([basewidth, hsize], Image.ANTIALIAS) + img.thumbnail([basewidth, hsize], Image.Resampling.LANCZOS) img.save( utility.get_latest_snapshot_thumbnail_download_path( self.snapshot_job_info.temporary_directory, self.snapshot_job_info.camera.guid