mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-11-21 11:25:09 +00:00
85faf76442
Lower-case `root` is deprecated and doesn't work with newer versions of pikepdf. |
||
---|---|---|
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 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.