Enum
OfficePngCompression
OfficeIMO.Drawing
Defines the zlib compression strategy used when encoding already-filtered PNG scanlines.
Inheritance
- Enum
- OfficePngCompression
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Accepted by parameters 4
- Method OfficePngWriter.Encode
- Method OfficePngWriter.EncodeRgba
- Method OfficePngWriter.EncodeScanlines
- Method OfficePngWriter.EncodeTo
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const OfficePngCompression Optimal #Select exact grayscale, RGB, RGBA, or indexed samples and compress according to the selected encoding effort. All RGBA values, including hidden colors under transparent pixels, are preserved.
Value:
0public const OfficePngCompression Stored #Store scanlines in zlib blocks without deflate compression.
Value:
1public const OfficePngCompression Fastest #Compress scanlines once using the platform's fastest deflate strategy.
Value:
2