diff --git a/SotMDeckBuilder.py b/SotMDeckBuilder.py index a6dc17b..a427457 100755 --- a/SotMDeckBuilder.py +++ b/SotMDeckBuilder.py @@ -122,8 +122,12 @@ def makeFaces(deckJson, outfile): cardNum += 1 baseImage.write(outfile + ".svg") - subprocess.call(["inkscape", "-z", "-f", outfile + ".svg", "-w", - str(baseX * CARD_WIDTH * 4), "-e", outfile + ".png"]) + command = ["inkscape", "-z", + "-f", outfile + ".svg", + "-w", str(baseX * CARD_WIDTH * 5), + "-e", outfile + ".png"] + print("To regenerate PNG after editing SVG, run:\n " + " ".join(command)) + subprocess.run(command) return baseX def makeCardJson(template, nickname, description, cardID):