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: ExpertPdfAssembly: eppdftoimage (in eppdftoimage.dll) Version: 10.0
Syntaxpublic int PngCompressionLevel { get; set; }Public Property PngCompressionLevel As Integer
Get
Set
Property Value
Int32
RemarksUsed 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