Go to file
Simon Segerblom Rex 79bbdaab05
Merge pull request #2 from SimonSegerblomRex/fix-1
Add /Order with all OCGs to OCG config
2019-05-16 21:56:12 +02:00
.gitignore Initial commit 2019-05-16 19:35:02 +02:00
LICENSE Initial commit 2019-05-16 19:35:02 +02:00
README.md Update README 2019-05-16 20:05:58 +02:00
pdflayers.py Add /Order with all OCGs to OCG config 2019-05-16 21:53:06 +02:00

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>