diff --git a/pdftools/__init__.py b/pdftools/__init__.py deleted file mode 100644 index 8d8852b..0000000 --- a/pdftools/__init__.py +++ /dev/null @@ -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") -