From 8572575e6961c2d8cb2d65235f5c30a62bb33d69 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 8 Feb 2017 23:54:24 +0100 Subject: [PATCH] Sooo... Did I forget to remove pdftools? --- pdftools/__init__.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 pdftools/__init__.py 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") -