Try to half image width instead of quarter for thumbnail
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ def main():
|
||||
exit(1)
|
||||
|
||||
width, height = image.size
|
||||
target_width = int(max(width/4, 1280))
|
||||
target_width = int(max(width/2, 1280))
|
||||
new_height = int(target_width * height / width)
|
||||
|
||||
image = image.resize((target_width, new_height), Image.Resampling.BICUBIC)
|
||||
|
||||
Reference in New Issue
Block a user