By Jetformat
Use pdf info after conversion to learn the actual page count, PDF version, encryption state, and first-page dimensions. It is a free read operation.
Steps
- Start with a local PDF. Replace the sample paths and identifiers with your own.
- Run the command below. Read the returned data before choosing a follow-up edit.
- Check the result as described below before using it in another job.
jetformat pdf info book.pdf --json
Options for this task
| Option | Meaning |
|---|---|
--json |
Write JSON output |
Check the result
Use --json for scripts and compare the page count with the expected output rather than inferring it from the source file size.
Notes and limits
This is a free utility or read operation. It does not need a paid conversion to inspect the result.
Run jetformat pdf info --help to compare options with your installed version.
See the pdf command reference for the surrounding workflow.