Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

OfficePngCompression

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

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.

Accepted by parameters 4

Values

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: 0
public const OfficePngCompression Stored #

Store scanlines in zlib blocks without deflate compression.

Value: 1
public const OfficePngCompression Fastest #

Compress scanlines once using the platform's fastest deflate strategy.

Value: 2