Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xilopaint/alfred-pdf-tools

Optimize, encrypt and manipulate PDF files.
https://github.com/xilopaint/alfred-pdf-tools

alfred alfred-workflow alfred-workflows pdf

Last synced: about 1 month ago
JSON representation

Optimize, encrypt and manipulate PDF files.

Awesome Lists containing this project

README

        

Alfred PDF Tools


















Optimize, encrypt and manipulate PDF files using [Alfred][1].

## Usage

**Alfred PDF Tools** can be used through the following [file actions][2]:

* `Optimize`: Optimize the selected PDF files by entering the intended
resolution of the output file (150 dpi is used if no value is input) and the
document will be improved with increased contrast and straightened text.
* `Deskew`: Straighten the selected PDF files with no further appearance changes.

> [!TIP]
> Invoke Alfred and type the `progress` keyword to track the enhancement
> process from either of the first two mentioned file actions.

* `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.
* `Extract Text`: Extract the text from the selected PDF files.

## Contribute

To report a bug or request a feature, please [create an issue][3] or [submit a
pull request][4].

## Credits

This workflow relies on [pypdf][5] library by Martin Thoma, [docopt][6] by
Vladimir Keleshev and [K2pdfopt][7] by willus.

[1]:http://www.alfredapp.com/
[2]:https://www.alfredapp.com/blog/tips-and-tricks/file-actions-from-alfred-or-finder/
[3]:https://github.com/xilopaint/alfred-pdf-tools/issues
[4]:https://github.com/xilopaint/alfred-pdf-tools/pulls
[5]:https://github.com/py-pdf/pypdf
[6]:https://github.com/docopt/docopt
[7]:http://www.willus.com/k2pdfopt/