Python PDF Series

How to Convert Images to PDFs with Python and Pillow (Video)

Learn how to convert one or more of your photos into a PDF using the Python programming language and the Pillow package in Mike Driscoll’s latest video tutorial! Learn more about working with PDFs in Python in Mike’s book: ReportLab – PDF Processing with Python Want to learn more about image processing with Python and …

How to Convert Images to PDFs with Python and Pillow (Video) Read More »

Python 101 – How to Generate a PDF

The Portable Document Format (PDF) is a very popular way to share documents across multiple platforms. The goal of the PDF is to create a document that will look the same on multiple platforms and that will print the same (or very similar) on various printers. The format was originally developed by Adobe but has …

Python 101 – How to Generate a PDF Read More »

Python PDF Series – An Intro to metaPDF

While researching PDF libraries for Python, I stumbled across another little project called metaPDF. According to its website, metaPDF is a lightweight Python library optimized for metadata extraction and insertion, and it is a fast wrapper over the excellent pyPdf library. It works by quickly searching the last 2048 bytes of the PDF before parsing …

Python PDF Series – An Intro to metaPDF Read More »

Reportlab: Mixing Fixed Content and Flowables

Recently I needed the ability to use Reportlab’s flowables, but place them in fixed locations. Some of you are probably wondering why I would want to do that. The nice thing about flowables, like the Paragraph, is that they’re easily styled. If I could bold something or center something AND put it in a fixed …

Reportlab: Mixing Fixed Content and Flowables Read More »