VeryPDF PDF Compressor Cloud API is a part of VeryPDF Cloud API Platform, VeryPDF PDF Compressor Cloud API is provide Cloud API functions to reduce the size of large PDF documents without the need of installing special software. You can call PDF Compressor Cloud API to make the PDF file as smaller, allowing your users to download and access it much faster.

ColorImageRes: Set the resolution when Downsample Color Images, default is 72dpi.

GrayImageRes: Set the resolution when Downsample Grayscale Images, default is 72dpi.

MonoImageRes: Set the resolution when Downsample Monochrome Images, default is 72dpi.

ColorImageDownsampleType: Samples or downsamples color images to reduce the number of pixels, deleting information. By altering the settings, you can minimize the loss of detail with maximum benefit to the file size.

The sample setting. Available options are:

0= No Downsampling. No downsampling occurs.

1= Subsample. Subsampling chooses a pixel in the center of a sample group and replaces the entire group with that pixel at the specified resolution.

2= Average. Downsampling averages the pixel color in a sample group and replaces the entire group with an average of the pixel color at the specified resolution.

3= Bicubic. Downsampling occurs using a weighted average of the pixel color in a sample group and replaces the entire group with an average of the pixel color at the specified resolution. Bicubic downsampling is more precise, resulting in smoother gradations than Average and Subsample downsampling, yet is also the slowest process.

Subsampling is the fastest sampling process, but can result in a less smooth and continuous image.

GrayImageDownsampleType: Same as ColorImageDownsampleType, but available for grayscale images.

MonoImageDownsampleType: Same as ColorImageDownsampleType, but available for monochrome images.