1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2024-11-01 01:38:16 +01:00

added borders

This commit is contained in:
itec78 2021-05-11 15:03:02 +02:00
parent c04bb15eec
commit 46e58b8502

View file

@ -130,6 +130,7 @@ def writeStrip(story,config):
for vign in strip:
image.paste(vign,(xshift,0))
xshift += config["panelLength"]
ImageDraw.Draw(image).rectangle([0,0,config["xSize"]-1,config["ySize"]-1], fill=None, outline="black", width=1)
return image
def createStrip(config,specialPlatform=""):
@ -262,7 +263,7 @@ if __name__ == "__main__":
for ist,strip_num in enumerate(range(0,args.multiple[0])):
pagePdf[nopage].paste(pdfs[strip_num],box=(110,ypos))
ypos += 516
ypos += 516 + 20
if ypos > 3508-569:
ypos = 100
nopage += 1