2025-03-14 21:59:59 -06:00
|
|
|
# pdf-parser
|
|
|
|
|
|
|
|
|
|
> Identify fundamental elements of a PDF file without rendering it.
|
|
|
|
|
> More information: <https://blog.didierstevens.com/programs/pdf-tools>.
|
|
|
|
|
|
|
|
|
|
- Display statistics for a PDF file:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display objects of a specific type (`/Font`, `/URI`, ...) in a PDF file:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Search for strings in indirect objects:
|
|
|
|
|
|
2025-06-28 19:25:29 -06:00
|
|
|
`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}`
|