image_quality property

image_quality property

The image quality in the output PDF file, expressed as a percentage.

To change the image quality, first set the PdfOptimizationOptions.compress_images property to True. For a code example, see the documentation.

Definition:

@property
def image_quality(self):
    ...
@image_quality.setter
def image_quality(self, value):
    ...

See Also