Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

OfficeImageOptimizationMode

OfficeIMO.Drawing

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

Selects whether image optimization reduces pixels, JPEG encoding quality, or both.

Inheritance

  • Enum
  • OfficeImageOptimizationMode

Usage

Explore 4 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.

Values

public const OfficeImageOptimizationMode Downsample #

Only re-encodes an image when dimensions or another explicit output policy change.

Value: 0
public const OfficeImageOptimizationMode Recompress #

Retains pixel dimensions and permits JPEG re-encoding at the requested quality.

Value: 1
public const OfficeImageOptimizationMode DownsampleAndRecompress #

Reduces excessive pixel dimensions and permits JPEG re-encoding even without resizing.

Value: 2