We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 604f719 commit 35c80bbCopy full SHA for 35c80bb
1 file changed
imagetookit.py
@@ -71,6 +71,7 @@ def horizontal_stack(images, background_color=(0, 0, 0)):
71
x_offset += im.size[0]
72
return new_im
73
74
+# seems can be replaced by Image.thumbnail?
75
def fit_image_into_box(image, width, height, background_color=(0, 0, 0)):
76
width_scaling_factor = width / image.width
77
height_scaling_factor = height / image.height
0 commit comments