1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-11-16 01:07:08 +00:00
Go to file
Simon Segerblom Rex e40d133d4b
Merge pull request #8 from SimonSegerblomRex/new-structure
Restructure single script into package
2019-05-20 19:48:27 +02:00
pdflayers Restructure single script into package 2019-05-20 11:31:50 +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.md 2019-05-20 19:45:59 +02:00
setup.py Restructure single script into package 2019-05-20 11:31:50 +02:00

pdflayers

pdflayers is a tool for changing default visibility of PDF layers (OCGs, Optional Content Groups).

Installation

python3 -m pip install --user https://github.com/SimonSegerblomRex/pdflayers

Usage

pdflayers <input file> <output file> --show <layer names>

or

python -m pdflayers <input file> <output file> --show <layer names>

Acknowledgements

pikepdf is doing most of the work.