Merge 'lineage-21.0' into 14.0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
commit
bcd2356406
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user