mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-12-18 06:54:07 +00:00
Update README.md
This commit is contained in:
parent
84fa57c3b5
commit
e6d178f1e5
19
README.md
19
README.md
@ -1,19 +1,30 @@
|
|||||||
pdflayers
|
pdflayers
|
||||||
=========
|
=========
|
||||||
|
|
||||||
**pdflayers** is a tool for changing default visibility of PDF layers (OCGS, Optional Content Groups).
|
**pdflayers** is a tool for changing default visibility of PDF layers
|
||||||
|
(OCGs, Optional Content Groups).
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Currently **pdflayers** just consists of a simple python script, so you manually have to install the dependencies:
|
|
||||||
```shell
|
```shell
|
||||||
python3 -m pip install --user pikepdf
|
python3 -m pip install --user https://github.com/SimonSegerblomRex/pdflayers
|
||||||
```
|
```
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 pdflayers.py <input file> <output file> --show <name of layer to be visible in putput>
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user