1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pdfimages.md

21 lines
577 B
Markdown
Raw Normal View History

2019-12-31 19:24:36 +01:00
# pdfimages
> Utility for extracting images from PDFs.
> More information: <https://manned.org/pdfimages>.
2019-12-31 19:24:36 +01:00
- 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}}`