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 as the renderer writes them.
Namespace: ExpertPdf.AnywhereAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic int PngCompressionLevel { get; set; }Public Property PngCompressionLevel As Integer
Get
Set
Property Value
Int32
RemarksUsed when the images are saved as PNG: 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. With a level from 0 to 9 the converter writes the PNG file
again at that level, with adaptive row filtering.
See Also