1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-12-18 06:54:07 +00:00
Go to file
Simon Segerblom Rex 1f00dedbfb Add __init__.py
Needed for setuptools.find_packages().
Maybe not the best solution..?
2019-05-20 20:17:51 +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 Add git+ to url in installation instructions 2019-05-20 20:01:53 +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

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

Acknowledgements

pikepdf is doing most of the work.