1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-12-18 06:54:07 +00:00
Go to file
Simon Segerblom Rex e6d178f1e5 Update README.md
2019-05-20 19:45:59 +02:00
pdflayers Restructure single script into package 2019-05-20 11:31:50 +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.md 2019-05-20 19:45:59 +02:00
setup.py Restructure single script into package 2019-05-20 11:31:50 +02:00

pdflayers

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

Installation

python3 -m pip install --user https://github.com/SimonSegerblomRex/pdflayers

Usage

pdflayers <input file> <output file> --show <layer names>

or

python -m pdflayers <input file> <output file> --show <layer names>

Acknowledgements

pikepdf is doing most of the work.