Go to file
Simon Segerblom Rex 61168f88e5 Update readme 2019-05-21 10:54:26 +02:00
pdflayers Add __init__.py 2019-05-20 20:17:51 +02:00
.gitignore Initial commit 2019-05-16 19:35:02 +02:00
.pylintrc Restructure single script into package 2019-05-20 11:31:50 +02:00
LICENSE Initial commit 2019-05-16 19:35:02 +02:00
README.md Update readme 2019-05-21 10:54:26 +02:00
setup.py Fix classifiers in setup.py 2019-05-21 10:42:25 +02:00

README.md

pdflayers

pdflayers is a tool for changing default visibility of PDF layers (OCGs, Optional Content Groups).

Installation

python3 -m pip install --user pdflayers

Usage

pdflayers <input file> <output file> --show <layer name(s)>

or

python3 -m pdflayers <input file> <output file> --show <layer name(s)>

Acknowledgements

pikepdf is doing most of the work.

References