From 55edce104a750a0427e8a7082010fc20c30c50e3 Mon Sep 17 00:00:00 2001 From: Daniel Cervenkov Date: Tue, 31 Dec 2019 19:24:36 +0100 Subject: [PATCH] pdfimages: add page (#3668) --- pages/common/pdfimages.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/pdfimages.md diff --git a/pages/common/pdfimages.md b/pages/common/pdfimages.md new file mode 100644 index 0000000000..c23d325e26 --- /dev/null +++ b/pages/common/pdfimages.md @@ -0,0 +1,19 @@ +# pdfimages + +> Utility for extracting images from PDFs. + +- Extract all images from a PDF file and save them as PNGs: + +`pdfimages -png {{path/to/file.pdf}} {{filename_prefix}}` + +- Extract images from pages 3 to 5: + +`pdfimages -f {{3}} -l {{5}} {{path/to/file.pdf}} {{filename_prefix}}` + +- Extract images from a PDF file and include the page number in the output filenames: + +`pdfimages -p {{path/to/file.pdf}} {{filename_prefix}}` + +- List information about all the images in a PDF file: + +`pdfimages -list {{path/to/file.pdf}}`