1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-12-18 06:54:07 +00:00
Go to file
2019-05-21 10:20:42 +02:00
pdflayers Add __init__.py 2019-05-20 20:17:51 +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 with references 2019-05-21 10:20:42 +02:00
setup.py Add __init__.py 2019-05-20 20:17:51 +02: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