From 9b0e86a8e74768c4fe848fb5ce8d754292db4e3e Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Tue, 23 Apr 2024 00:37:58 -0400 Subject: New upstream version 8.3.0. --- nikola/image_processing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nikola/image_processing.py') diff --git a/nikola/image_processing.py b/nikola/image_processing.py index 4ac6d93..9f4d49c 100644 --- a/nikola/image_processing.py +++ b/nikola/image_processing.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright © 2014 Roberto Alsina and others. +# Copyright © 2012-2024 Roberto Alsina and others. # Permission is hereby granted, free of charge, to any # person obtaining a copy of this software and associated @@ -145,7 +145,7 @@ class ImageProcessor(object): if bigger_panoramas and w > 3 * h: size = min(w, max_size * 4), min(w, max_size * 4) try: - im.thumbnail(size, Image.ANTIALIAS) + im.thumbnail(size, Image.Resampling.LANCZOS) save_args = {} if icc_profile: save_args['icc_profile'] = icc_profile -- cgit v1.2.3