Merge 'lineage-21.0' into 14.0

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi 2024-02-08 01:08:29 +05:30
commit bcd2356406

View File

@ -22,7 +22,7 @@ def generate_smallvariants(resource):
with Image.open(os.path.join(wallpapers_path, wallpaper)) as img:
size = int(img.width / 3), int(img.height / 3)
img_small = img.resize(size, Image.ANTIALIAS)
img_small = img.resize(size, Image.Resampling.LANCZOS)
img_small.save(wallpaper_small_path, "JPEG")
def clean(wallpapers_path):