mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-11-15 16:57:07 +00:00
31 lines
516 B
Markdown
31 lines
516 B
Markdown
pdflayers
|
|
=========
|
|
|
|
**pdflayers** is a tool for changing default visibility of PDF layers
|
|
(OCGs, Optional Content Groups).
|
|
|
|
Installation
|
|
------------
|
|
|
|
```shell
|
|
python3 -m pip install --user git+https://github.com/SimonSegerblomRex/pdflayers
|
|
```
|
|
|
|
Usage
|
|
-----
|
|
|
|
```
|
|
pdflayers <input file> <output file> --show <layer names>
|
|
```
|
|
|
|
or
|
|
|
|
```
|
|
python -m pdflayers <input file> <output file> --show <layer names>
|
|
```
|
|
|
|
Acknowledgements
|
|
----------------
|
|
|
|
[pikepdf](https://github.com/pikepdf/pikepdf) is doing most of the work.
|