Skip to content

Commit 35c80bb

Browse files
committed
.
1 parent 604f719 commit 35c80bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

imagetookit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def horizontal_stack(images, background_color=(0, 0, 0)):
7171
x_offset += im.size[0]
7272
return new_im
7373

74+
# seems can be replaced by Image.thumbnail?
7475
def fit_image_into_box(image, width, height, background_color=(0, 0, 0)):
7576
width_scaling_factor = width / image.width
7677
height_scaling_factor = height / image.height

0 commit comments

Comments
 (0)