Documentation
¶
Overview ¶
Command pdfdump emits a JSON snapshot of a PDF in the same format used by pdfdisassembler's snapshot-test harness.
Usage:
pdfdump [-stream-content] [-no-preview] <file.pdf>
Diff two PDFs structurally:
diff <(pdfdump a.pdf) <(pdfdump b.pdf)
Reproduce a parser bug:
pdfdump broken.pdf > broken.json # attach broken.pdf and broken.json to the issue
Click to show internal directories.
Click to hide internal directories.