mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2025-02-05 11:58:24 +00:00
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
Languages
Python
100%