1
0
mirror of https://github.com/Llewellynvdm/pdflayers.git synced 2024-11-21 11:25:09 +00:00
Go to file
Simon Segerblom Rex 26e1f6a543 Avoid accessing keys in /Usage
Shouldn't have any issues with excpetions anymore at least.
Need to read the PDF reference manual properly to see if
this is the right thing to do...

Fixes #2
2019-05-16 22:19:36 +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>