Changed scaling method
This commit is contained in:
parent
55ea554357
commit
d7e0cb9089
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def genImage(imageArray):
|
||||||
combinedBG = combineImages(imageArray, *getTotalImgSize(imageArray),False)
|
combinedBG = combineImages(imageArray, *getTotalImgSize(imageArray),False)
|
||||||
combinedBG = blurImage(combinedBG,50)
|
combinedBG = blurImage(combinedBG,50)
|
||||||
finalImg = Image.alpha_composite(combinedBG,combined)
|
finalImg = Image.alpha_composite(combinedBG,combined)
|
||||||
finalImg = ImageOps.pad(finalImg, imageArray[0].size,color=(0, 0, 0, 0))
|
finalImg = ImageOps.pad(finalImg, findImageWithMostPixels(imageArray).size,color=(0, 0, 0, 0))
|
||||||
return finalImg
|
return finalImg
|
||||||
|
|
||||||
def genImageFromURL(urlArray):
|
def genImageFromURL(urlArray):
|
||||||
|
|
Loading…
Reference in a new issue