Click or drag to resize
Pdftools logo

ConversionOptionsImageQuality Property

Image quality of recompressed images

The image quality for images that use a prohibited lossy compression type and must be recompressed. Supported values are 0.01 to 1.0. A higher value means better visual quality at the cost of a larger file size. Recommended values range from 0.7 to 0.9.

Example: JPX (JPEG2000) is not allowed in PDF/A-1. If a PDF contains a JPX compressed image, its compression type must be altered. Thus the image is converted to an image with JPEG compression using the image quality defined by this property. Default value: 0.8


Namespace: PdfTools.PdfA.Conversion
Assembly: PdfTools (in PdfTools.dll) Version: 1.8.0+c1110cafb37403de0188424e1c97e84e318ca892
Syntax
C#
public double ImageQuality { get; set; }

Property Value

Double
Exceptions
ExceptionCondition
ArgumentException[set] The given value is smaller than 0.1 or greater than 1.
See Also