Compress PDF

The action can be used to compress a PDF file into smaller files. Various compression profiles are available to suit for various needs. You can check profiles details that suit your needs.

compress

Parameters

Name String, Required

Filename including extension.

DocumentBinary, Required

PDF file to compressed. The file should be passed as a binary file.

ProfileEnum, Required

Select type of compression. The allowed values are

  • Maximum Compression, small size, short download, fast display.
  • For Web, small size, short download, fast display.
  • For Print, correct fonts, right color scheme, suitable resolution. Compression suitable while printing documents. minor loss in image dpi

Output

NameString

The name of the output file.

Doc DataBase64

The output document in Base64 format.