Click or drag to resize

PdfToImageConverterPngCompressionLevel Property

The compression level of the PNG images, from 0 (no compression, the fastest) to 9 (the smallest files), or -1. The default value is -1: the PNG images are saved by the PNG encoder of the system (GDI+).

Namespace: ExpertPdf
Assembly: eppdftoimage (in eppdftoimage.dll) Version: 10.0
Syntax
public int PngCompressionLevel { get; set; }

Property Value

Int32
Remarks
Used when the images are saved as PNG: by ConvertToImagesInFolder() when ImagesFormat is ImageFormat.Png and by ConvertPageToImageBytes() with ImageFormat.Png. The PNG compression is lossless: every level gives the same pixels, a higher level a smaller file in more time. The system encoder has no compression level; with a level from 0 to 9 the converter writes the PNG file itself, with adaptive row filtering.
See Also