Negative Space: PDF
- Adding links to PDF in Python
- It is very easy to add links to PDF documents using reportlab or platypus in Python.
- AppleScript, variables, and dropped filenames in Automator
-
Automator is a simple workflow system for Mac OS X. By its nature it is very procedural: one task follows another; workflows don’t loop and they don’t store variables for later. However, this is possible in Automator and while it adds complexities it can also solve problems such as wanting to save dropped filenames for later use.
- Calculating true three-fold PDF in Python
- Calculating a true three-fold PDF requires determining exactly where the folds should occur.
- Combining multiple PDF files into a single file
-
Automator allows you to combine multiple PDF files into a single file.
- Create searchable PDFs in Swift
-
This Swift script will take a series of image scans, OCR them, and turn them into a PDF file with a simple table of contents and searchable content—with the original images as the visually readable content.
- Creating searchable PDFs in Ventura
-
My searchablePDF script’s behavior changed strangely after upgrading to Ventura. All of the pages are generated at extremely low quality. This can be fixed by generating a JPEG representation before generating the PDF pages.
- Embedding Mako into Django
- You got Mako in my Django! You got Django on my Mako! Two great templates that template great together.
- A gaming library in my pocket?
-
The iBooks application, like, I suspect, all good e-reader software, lets you drag and drop PDFs and images into it.
- Multiple column PDF generation in Python
- You can use ReportLab’s Platypus to generate multi-column PDFs in Snakelets, Django, or any Python app.
- Python PDF generation with Snakelets
- One of the things I need to do to move my current web site over to Django is be able to automatically generate PDF documents. Step is to learn how to generate PDF using Python.
- Quality compressed PDFs in Mac OS X Lion
-
The instructions for creating a “reduce PDF file size” filter in Lion are the same as for earlier versions of Mac OS X—except that for some reason ColorSync saves the filter in the wrong place (or, I guess, Preview is looking for them in the wrong place).
- Quality reduced file size in Mac OS X Preview
-
You can use Quartz filters to reduce the size of your PDFs in Mac OS X while maintaining a high image quality.
More Information
- PDFDocument
-
“An object that represents PDF data or a PDF file and defines methods for writing, searching, and selecting PDF data.”