pdfcpu

Logo

PDF tooling for Go and the command line.

View the Project on GitHub pdfcpu/pdfcpu


Changelog
Future Directions

Extract

Extract commands write selected PDF internals into files outside the document.

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

Usage

pdfcpu extract -m(ode) image|font|content|page|meta [-p(ages) selectedPages] inFile outDir

Flags

namedescriptionrequiredvalues
m(ode)component to be extractedyesimage, font, content, page, meta
p(ages)page selectionyes

Common Flags


Arguments

namedescriptionrequired
inFilePDF input file, use - to read from stdinyes
outDiroutput directoryyes