Sooo... Did I forget to remove pdftools?

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-08 23:54:24 +01:00
parent adbc551bc2
commit 8572575e69

View file

@ -1,12 +0,0 @@
def makePDF(issue, pages):
cover = PIL.Image.open("%i/1.jpg" % issue)
x, y = cover.size
pdf = fpdf.FPDF(unit = "pt", format = [x, y])
for page in range(pages):
pdf.add_page()
pdf.image("%i/%i.jpg" % (issue, page + 1), 0, 0)
pdf.output("%i/issue.pdf" % issue, "F")