mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-11-21 11:25:09 +00:00
26e1f6a543
Shouldn't have any issues with excpetions anymore at least. Need to read the PDF reference manual properly to see if this is the right thing to do... Fixes #2 |
||
---|---|---|
.gitignore | ||
LICENSE | ||
pdflayers.py | ||
README.md |
pdflayers
pdflayers is a tool for changing default visibility of PDF layers (OCGS, Optional Content Groups).
Installation
Currently pdflayers just consists of a simple python script, so you manually have to install the dependencies:
python3 -m pip install --user pikepdf
Usage
python3 pdflayers.py <input file> <output file> --show <name of layer to be visible in putput>