Decreasing the JPG images quality reduces the size of the output file.
To adjust images quality, set the image_quality property of the PdfViewOptions class. The value must be between 1 (minimum quality) and 100. The default value is 90.
To set the image quality, follow these steps:
Instantiate the Viewer class. Specify the source document path as a constructor parameter.