mirror of
https://gitlab.com/oloturia/fumcaso.git
synced 2025-01-08 22:47:17 +01:00
added borders
This commit is contained in:
parent
c04bb15eec
commit
46e58b8502
1 changed files with 2 additions and 1 deletions
|
@ -130,6 +130,7 @@ def writeStrip(story,config):
|
||||||
for vign in strip:
|
for vign in strip:
|
||||||
image.paste(vign,(xshift,0))
|
image.paste(vign,(xshift,0))
|
||||||
xshift += config["panelLength"]
|
xshift += config["panelLength"]
|
||||||
|
ImageDraw.Draw(image).rectangle([0,0,config["xSize"]-1,config["ySize"]-1], fill=None, outline="black", width=1)
|
||||||
return image
|
return image
|
||||||
|
|
||||||
def createStrip(config,specialPlatform=""):
|
def createStrip(config,specialPlatform=""):
|
||||||
|
@ -262,7 +263,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
for ist,strip_num in enumerate(range(0,args.multiple[0])):
|
for ist,strip_num in enumerate(range(0,args.multiple[0])):
|
||||||
pagePdf[nopage].paste(pdfs[strip_num],box=(110,ypos))
|
pagePdf[nopage].paste(pdfs[strip_num],box=(110,ypos))
|
||||||
ypos += 516
|
ypos += 516 + 20
|
||||||
if ypos > 3508-569:
|
if ypos > 3508-569:
|
||||||
ypos = 100
|
ypos = 100
|
||||||
nopage += 1
|
nopage += 1
|
||||||
|
|
Loading…
Reference in a new issue