Skip to content

Commit d7f676b

Browse files
committed
Comment out WIP thumbnail code
1 parent 3b84c28 commit d7f676b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/thumbnail_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def generate_thumbnail(iconfile_relative_path_str):
3535

3636
thumbnail = resize_height_to_720p(thumbnail, width, height)
3737

38-
thumbnail = add_transparent_sides(thumbnail)
38+
# thumbnail = add_transparent_sides(thumbnail)
3939

4040
thumbnail_path = iconfile_path.parent / "thumbnail.png"
4141
thumbnail.save(thumbnail_path)
@@ -63,7 +63,7 @@ def resize_height_to_720p(base_img, base_width, base_height):
6363
new_width = base_width * scale_factor
6464
new_height = base_height * scale_factor
6565

66-
print(scale_factor, base_width, base_height, new_width, new_height)
66+
# print(scale_factor, base_width, base_height, new_width, new_height)
6767

6868
new_img = base_img.resize( (new_width,new_height), Image.NEAREST)
6969
return new_img

0 commit comments

Comments
 (0)