Extract

This command lets you extract the following from a PDF file:

Usage

  1. pdfcpu extract [-v(erbose)|vv] -mode image|font|content|page|meta [-pages pageSelection] [-upw userpw] [-opw ownerpw] inFile outDir

Flags

namedescriptionrequiredvalues
verboseturn on loggingno
vvverbose loggingno
modecomponent to be extractedyesimage, font, content, page, meta
pagespage selectionyes
upwuser passwordno
opwowner passwordno

Arguments

namedescriptionrequired
inFilePDF input fileyes
outDiroutput directoryyes