mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2025-02-05 03:48:25 +00:00
mara004
85faf76442
Use capitalised
Root
Lower-case `root` is deprecated and doesn't work with newer versions of pikepdf.
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
Languages
Python
100%