Jetformat

Optimize a PDF file for storage

Use jetformat pdf optimize to optimize a PDF file for storage.

By Jetformat

Optimization merges duplicate objects, compresses streams, and subsets fonts. It cannot promise a fixed reduction for a file that is already efficiently encoded.

Steps

  1. Start with a local PDF. Replace the sample paths and identifiers with your own.
  2. Run the command below. Save to a new output path so the source remains available for comparison.
  3. Check the result as described below before using it in another job.
jetformat pdf optimize book.pdf -o small.pdf

Options for this task

Option Meaning
--output Output PDF path (required)

Check the result

Compare file sizes and render representative pages; accept the result only if readability and required behavior remain intact.

Notes and limits

This operation uses page-based credits. Review the billing guide before processing a large document.

The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat pdf optimize --help to compare options with your installed version.

See the pdf command reference for the surrounding workflow.

Last updated