mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-11-16 01:07:08 +00:00
910 B
910 B
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