Browse Source

pdf-parser: add page (#6961)

Juri 3 years ago
parent
commit
a8d6782f83
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pages/common/pdf-parser.md

+ 16 - 0
pages/common/pdf-parser.md

@@ -0,0 +1,16 @@
+# 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:
+
+`pdf-parser --stats {{path/to/file.pdf}}`
+
+- Display objects of type `/Font` in a PDF file:
+
+`pdf-parser --type={{/Font}} {{path/to/file.pdf}}`
+
+- Search for strings in indirect objects:
+
+`pdf-parser --search={{search_string}} {{path/to/file.pdf}}`