pdflayers/README.md

910 B

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

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

Acknowledgements

pikepdf is doing most of the work.

References

PDF 1.7 Reference Acrobat JavaScript API Reference Acrobat DC SDK Documentation