mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-11-26 21:46:27 +00:00
pdflayers | ||
.gitignore | ||
.pylintrc | ||
LICENSE | ||
README.md | ||
setup.py |
pdflayers
pdflayers is a tool for changing default visibility of PDF layers (OCGs, Optional Content Groups).
Installation
python3 -m pip install --user git+https://github.com/SimonSegerblomRex/pdflayers
Usage
pdflayers <input file> <output file> --show <layer names>
or
python3 -m pdflayers <input file> <output file> --show <layer names>
Acknowledgements
pikepdf is doing most of the work.
References
PDF 1.7 Reference Acrobat JavaScript API Reference Acrobat DC SDK Documentation