2019-05-16 18:05:58 +00:00
|
|
|
pdflayers
|
|
|
|
=========
|
|
|
|
|
2019-05-20 17:45:59 +00:00
|
|
|
**pdflayers** is a tool for changing default visibility of PDF layers
|
|
|
|
(OCGs, Optional Content Groups).
|
2019-05-16 18:05:58 +00:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
```shell
|
2019-05-20 18:01:53 +00:00
|
|
|
python3 -m pip install --user git+https://github.com/SimonSegerblomRex/pdflayers
|
2019-05-16 18:05:58 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
```
|
2019-05-20 17:45:59 +00:00
|
|
|
pdflayers <input file> <output file> --show <layer names>
|
2019-05-16 18:05:58 +00:00
|
|
|
```
|
2019-05-20 17:45:59 +00:00
|
|
|
|
|
|
|
or
|
|
|
|
|
|
|
|
```
|
|
|
|
python -m pdflayers <input file> <output file> --show <layer names>
|
|
|
|
```
|
|
|
|
|
|
|
|
Acknowledgements
|
|
|
|
----------------
|
|
|
|
|
|
|
|
[pikepdf](https://github.com/pikepdf/pikepdf) is doing most of the work.
|