Monday, April 30, 2012

Converting images to PDF with Reportlab and Python

Seen via @ghoseb tweet.

Interesting post, including about the memory error with a large number of files; workaround given in post.

I've used the Platypus module of Reportlab a bit; it is powerful. Gives a good amount of control over layout and appearance of the PDF generated. It works at a higher level of abstraction than the core Reportlab pdfgen module, so can save you programming time, as well as mapping more directly to your intentions (what vs. how). And pdfgen is available if you need more low-level control.

- Vasudev Ram

No comments: