Extract
This command lets you extract the following from a PDF file:
Usage
pdfcpu extract [-v(erbose)|vv] -mode image|font|content|page|meta [-pages pageSelection] [-upw userpw] [-opw ownerpw] inFile outDir
Flags
name | description | required | values |
---|---|---|---|
verbose | turn on logging | no | |
vv | verbose logging | no | |
mode | component to be extracted | yes | image, font, content, page, meta |
pages | page selection | yes | |
upw | user password | no | |
opw | owner password | no |
Arguments
name | description | required |
---|---|---|
inFile | PDF input file | yes |
outDir | output directory | yes |