Skip to content

Commit

Permalink
white background for image_mosaic
Browse files Browse the repository at this point in the history
  • Loading branch information
DominiqueMakowski committed Feb 29, 2024
1 parent fca5a5c commit e987969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyllusion/image/image_mosaic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def image_mosaic(image_list, ncols="auto", nrows="auto"):
nrows = int(n / ncols)

# Generate image
new = PIL.Image.new("RGB", (image_list[0].width * ncols, image_list[0].height * nrows))
new = PIL.Image.new("RGB", (image_list[0].width * ncols, image_list[0].height * nrows), color=(255, 255, 255))
i = 0
for row in range(nrows):
for col in range(ncols):
Expand Down

0 comments on commit e987969

Please # to comment.