PngCompressionLevel Property (EmbeddedImageCodecs)
Gets or sets the compression level for PNG images.
'Declaration
Public Property PngCompressionLevel As Integer
public int PngCompressionLevel { get; set; }
public: __property int get_PngCompressionLevel();
public: __property void set_PngCompressionLevel(
int
);
public:
property int PngCompressionLevel {
int get();
void set(int );
}
Property Value
Possible values: 0 (no compression), 1 (best speed), ..., 9 (best compression).
Default value is 6.
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5