Merge pull request #2 from cabiste69/patch-1

Minor cleaning
This commit is contained in:
Dylan 2022-05-21 16:13:26 +01:00 committed by GitHub
commit f640ac69a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,10 +17,6 @@ def getTotalImgSize(imageArray): # take the image with the most pixels, multiply
return (maxImage.size[0], maxImage.size[1])
elif (len(imageArray) == 2):
return (maxImage.size[0] * 2, maxImage.size[1])
elif (len(imageArray) == 3):
return (maxImage.size[0] * 2, maxImage.size[1]*2)
elif (len(imageArray) == 4):
return (maxImage.size[0] * 2, maxImage.size[1]*2)
else:
return (maxImage.size[0] * 2, maxImage.size[1]*2)