Sooo... Did I forget to remove pdftools?
This commit is contained in:
parent
adbc551bc2
commit
8572575e69
1 changed files with 0 additions and 12 deletions
|
@ -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")
|
||||
|
Loading…
Reference in a new issue