
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
Extract commands write selected PDF internals into files outside the document.
This command lets you extract the following from a PDF file:
pdfcpu extract -m(ode) image|font|content|page|meta [-p(ages) selectedPages] inFile outDir
| name | description | required | values |
|---|---|---|---|
| m(ode) | component to be extracted | yes | image, font, content, page, meta |
| p(ages) | page selection | yes |
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
| outDir | output directory | yes |