mutool: cleanup page (#12223)

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
pull/23/head
Vitor Henrique 2024-02-14 17:24:47 -03:00 committed by GitHub
parent 8c00186b08
commit 22e8eb3722
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -1,15 +1,15 @@
# mutool
> Convert PDF files, query information and extract data.
> Convert, query information and extract data from PDF files.
> More information: <https://mupdf.readthedocs.io/en/latest/mupdf-command-line.html>.
- Convert pages 1-10 into 10 PNGs (Note: `%nd` in the output placeholder must be replaced with a print modifier like `%d` or `%2d`):
- Convert a range of pages to PNGs (Note: `%nd` in the output placeholder must be replaced with a print modifier like `%d` or `%2d`):
`mutool convert -o {{path/to/output%nd.png}} {{path/to/input.pdf}} {{1-10}}`
- Convert pages 2, 3 and 5 of a PDF into text in `stdout`:
- Convert one or more pages of a PDF into text in `stdout`:
`mutool draw -F {{txt}} {{path/to/input.pdf}} {{2,3,5}}`
`mutool draw -F txt {{path/to/input.pdf}} {{2,3,5,...}}`
- Concatenate multiple PDF files:
@ -19,10 +19,10 @@
`mutool info {{path/to/input.pdf}}`
- Extract all images, fonts and resources embedded in a PDF out into the current directory:
- Extract all images, fonts and resources embedded in a PDF to the current directory:
`mutool extract {{path/to/input.pdf}}`
- Print the outline (table of contents) of a PDF:
- Show the outline (table of contents) of a PDF:
`mutool show {{path/to/input.pdf}} outline`