pdf tools

Optimize, encrypt and manipulate PDF files.

From this project's GitHub repository:

alt text

Alfred PDF Tools

A workflow for Alfred 3.

Description

Optimize, encrypt and manipulate PDF files.

Download and Installation

Download the workflow file from GitHub releases and install it by double-clicking on Alfred.PDF.Tools.alfredworklow.

Usage

Alfred PDF Tools can be used by the following file actions:

  • Optimize: Optimize the selected PDF files by entering the intended resolution of the output file (150 dpi is set once no value is input). The document will be improved on the process with increased contrast and text straightening. Invoke Alfred and type the keyword progress if you want to track the optimization process;
  • Encrypt: Encrypt the selected PDF files by entering a password;
  • Decrypt: Decrypt the selected PDF files by entering their password or just if they’re not password protected;
  • Merge: Merge the selected PDF files. Use the modifier key if you also want to move the source files to Trash;
  • Split by Page Count: Split the selected PDF file by page count.
  • Split by File Size: Split the selected PDF file by file size.
  • Slice in Multiple Files: Slice the selected PDF file in multiple files by entering page numbers and/or page ranges separated by commas (e.g. 2, 5-8, 20-).
  • Slice in a Single File: Slice the selected PDF file in a single file by entering page numbers and/or page ranges separated by commas (e.g. 2, 5-8, 20-).
  • Crop: Convert two-column pages in single pages.
  • Scale: Scale the selected PDF files to a given paper size.

Contribute

To report a bug or request a feature, please create an issue or submit a pull request.

Credits

This workflow relies on PyPDF2 library currently maintained by Phaseit, Inc., Alfred-Workflow library by Dean Jackson, K2pdfopt by Johannes Buchnerand, Send2Trash by Virgil Dupras and docopt. The code for the Crop file action was mostly created by Matt Gumbley (Stack Overflow) and changed by Hanspeter Schmid to deal with already cropped pages.

License

Alfred PDF Tools is released under the MIT License.