Extract various objects, such as images and "embedded file streams" (see PDF Reference section 3.10.3), into external files. Also, developers can easily extract arbitrary objects stripped of encryption and compression filters. and optionally unembed images and fonts and other large objects into external files. A new, valid PDF is produced that is smaller than the original because it points to the external files rather than embedding that data. Extracted objects are checked against files in the current directory and if an identical file is found, it is shared, rather than making a new file with the same data.


java tool.pdf.Extract [options] PDF-file(s)