PDF extraction guides

Recover two source files from a PDF field packet

·

A PDF handout can carry editable source files in its attachment catalog. Use the report to save those files and check whether you retrieved the CSV or notes you expected.

Extract Embedded Files from PDF

Find the two field packet files

Choose Load field packet example. The report shows two catalog attachments ready to download. The 27-byte café.csv entry describes field readings, and the 12-byte notes.txt entry contains a route note.

Download café.csv by itself. Read its 27 UTF-8 bytes as two LF-terminated rows, station,reading and Zürich,17. Download notes.txt and check the line North route followed by LF.

PDF Association — ISO 32000-2 document formatPoppler pdfdetach reference manual

Compare the ZIP entries with the individual downloads

Choose Prepare ZIP, then Download ZIP. Open pdf-attachments.zip in an archive reader and compare the two entry names and byte counts with the report.

For your own file, choose Local PDF and Read attachments. If a row has a stream issue, inspect its name and description before choosing which ready files to save.

Poppler pdfdetach reference manual

Check the filename before saving

A PDF can record a path or reuse the same filename for more than one attached object. The report keeps the source name visible and shows a separate Download name where it needs to remove path components or add a number.

For example, when two listed files would save as report.txt, the later filename can be report (2).txt. Compare the download label with the description to identify the right file.

PDF Association — ISO 32000-2 document format

Common questions

Can the listed file type differ from the extension?

Yes. The displayed media type comes from the embedded stream’s metadata. Compare it with the filename and use a format inspector on the saved file if you need to check its bytes.

Can I save a PDF page image with this tool?

Use Extract PDF Images for page graphics. This report reads embedded file specifications from the document catalog.

Sources

Put it into practice.

Related guides