Add note about pdf-to-image conversion

This commit is contained in:
Talia 2022-12-15 11:21:39 +01:00
parent f1af2169af
commit 2cd21b361c
Signed by: darkwiiplayer
GPG key ID: 7808674088232B3E

View file

@ -0,0 +1,18 @@
---
tags: pdf
---
## `pdfimages`
To extract individual original images from a PDF document:
```sh
pdfimages -png input.pdf prefix
```
## `pdftoppm`
To convert the actual document to images (so kinda like taking screenshots, but better)
```sh
pdf2ppm -png input.pdf output.png
```