Click or drag to resize
Pdf Library for .NET

PdfCompressorImagesCompressionEnabled Property

Gets or sets a flag indicating if the images compression is enabled or not for the images in the pdf document.

Namespace:  SelectPdf.Compressor
Assembly:  Select.Pdf.Extras (in Select.Pdf.Extras.dll) Version: 23.2
Syntax
public bool ImagesCompressionEnabled { get; set; }

Property Value

Type: Boolean
Remarks
By default the images compression is enabled to reduce the size of the generated pdf document. When the images compression is enabled the quality of the images in the generated pdf is lower than the quality of the original images from the web page, and this quality depends on the ImagesCompressionLevel parameter. When the ImagesCompressionLevel is increased, the quality of the images in pdf decreases.
See Also