1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-11-16 01:07:08 +00:00
Go to file
Simon Segerblom Rex 48f9730d0f
Merge pull request #4 from SimonSegerblomRex/fix-2
Avoid accessing keys in /Usage
2019-05-16 22:24:11 +02:00
.gitignore Initial commit 2019-05-16 19:35:02 +02:00
LICENSE Initial commit 2019-05-16 19:35:02 +02:00
pdflayers.py Avoid accessing keys in /Usage 2019-05-16 22:19:36 +02:00
README.md Update README 2019-05-16 20:05:58 +02:00

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>