Optimize PDF file

This endpoint accepts a PDF file and optimizes it based on the provided parameters. Input:PDF Output:PDF Type:SISO

The input PDF file

File ID for server-side files (can be used instead of fileInput)

The level of optimization to apply to the PDF file. Higher values indicate greater compression but may reduce quality.

The expected output size, e.g. '100MB', '25KB', etc.

Whether to linearize the PDF for faster web viewing. Default is false.

Whether to normalize the PDF content for better compatibility. Default is false.

Whether to convert the PDF to grayscale. Default is false.

ILovePDF Tools - Quick Access
Scroll to Top