PDF to COMPRESS API
The API for compressing PDF files.
Integer
Color image compression quality. The parameter applies only to JPX and JPG compressions.
Default: 50
Range: 10 .. 100
Show all
Bool
Enable Bicubic image downsampling and decreases the number of pixels in the color image which in turn makes the file smaller.
Default: False
Show all
Integer
Threshold in DPI to activate color images resampling. ColorImageDownsample property must be enabled.
Default: 200
Range: 72 .. 3000
Show all
Integer
Color image resolution in DPI after Bicubic resampling. ColorImageDownsample property must be enabled.
Default: 150
Range: 10 .. 2400
Show all
Integer
Grayscale image compression quality. The parameter applies only to JPX and JPG compressions.
Default: 50
Range: 10 .. 100
Show all
Bool
Enable Bicubic image downsampling and decreases the number of pixels in the grayscale image which in turn makes the file smaller.
Default: False
Show all
Integer
Threshold in DPI to activate grayscale images resampling. GrayscaleImageDownsample property must be enabled.
Default: 200
Range: 72 .. 3000
Show all
Integer
Grayscale image resolution in DPI after Bicubic resampling. GrayscaleImageDownsample property must be enabled.
Default: 150
Range: 10 .. 2400
Show all
Bool
Enable Bicubic image downsampling and decreases the number of pixels in the monochrome image which in turn makes the file smaller.
Default: False
Show all
Integer
Threshold in DPI to activate Monochrome images resampling. MonochromeImageDownsample property must be enabled.
Default: 200
Range: 100 .. 3000
Show all
Integer
Monochrome image resolution in DPI after Bicubic resampling. MonochromeImageDownsample property must be enabled.
Default: 150
Range: 10 .. 240
Show all
Bool
Remove piece information dictionaries like Adobe Illustrator or Photoshop private data.
Default: True
Show all
Bool
Include in the output PDF document only the font characters that are used in the original document.
Default: True
Show all
Bool
Create object streams in the PDF file. An object stream represents a stream that contains a sequence of PDF objects. This allows a greater number of PDF objects to be compressed. Property compatible with Acrobat 6/PDF v1.5 and later.
Default: True
Show allSnippets are autogenerated according to converter parameter choices above. Please select file in "File" or "Files" parameter before using code snippets.
Code snippet is using ConvertAPI JavaScript Client
Code snippet is using ConvertAPI Node.js Client
Code snippet is using ConvertAPI PHP Client
Code snippet is using ConvertAPI Java Client
Code snippet is using ConvertAPI C# Client
Code snippet is using ConvertAPI Ruby Client
Code snippet is using ConvertAPI Python Client
Code snippet is using ConvertAPI Go Client
Code snippet is using command line utility program
For conversions with the multiple file result please refer to the example