Skip to content

Commit e987969

Browse files
white background for image_mosaic
1 parent fca5a5c commit e987969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyllusion/image/image_mosaic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def image_mosaic(image_list, ncols="auto", nrows="auto"):
4141
nrows = int(n / ncols)
4242

4343
# Generate image
44-
new = PIL.Image.new("RGB", (image_list[0].width * ncols, image_list[0].height * nrows))
44+
new = PIL.Image.new("RGB", (image_list[0].width * ncols, image_list[0].height * nrows), color=(255, 255, 255))
4545
i = 0
4646
for row in range(nrows):
4747
for col in range(ncols):

0 commit comments

Comments
 (0)