/pdflayers

Tool for changing default visibility of PDF layers

Primary LanguagePythonMIT LicenseMIT

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