1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-12-25 01:46:00 +00:00
Go to file
mara004 85faf76442
Use capitalised Root
Lower-case `root` is deprecated and doesn't work with newer versions of pikepdf.
2021-11-27 11:59:09 +01:00
pdflayers Use capitalised Root 2021-11-27 11:59:09 +01: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 2019-05-21 10:54:26 +02:00
setup.py Update version to 0.2.0 2019-05-21 10:57:25 +02:00

pdflayers

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

Installation

python3 -m pip install --user pdflayers

Usage

pdflayers <input file> <output file> --show <layer name(s)>

or

python3 -m pdflayers <input file> <output file> --show <layer name(s)>

Acknowledgements

pikepdf is doing most of the work.

References