diff --git a/notebook/Linux/Tools/pdf to image.md b/notebook/Linux/Tools/pdf to image.md new file mode 100644 index 0000000..09d96c2 --- /dev/null +++ b/notebook/Linux/Tools/pdf to image.md @@ -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 +``` \ No newline at end of file