Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeWebpEncodeOptions

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
1d5ef38d1e0b with working tree changes
Modifiers
sealed

Controls managed WebP encoding.

Inheritance

  • object
  • OfficeWebpEncodeOptions

Usage

Explore 3 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 1

Accepted by parameters 2

Constructors

public OfficeWebpEncodeOptions() #

Properties

public OfficeImageEncodingEffort Effort { get; set; } #

Lossless encoding effort. Balanced is the default; Smallest opts into candidate searches.

public OfficeWebpEncodingMode Mode { get; set; } #

The compression mode. Lossless preserves the existing default encoding contract.

public int Quality { get; set; } #

VP8 color quality from 1 through 100. This setting applies only to lossy encoding.

public double DpiX { get; set; } #

Horizontal resolution written to Exif when physical resolution is enabled.

public double DpiY { get; set; } #

Vertical resolution written to Exif when physical resolution is enabled.

public bool WritePhysicalResolution { get; set; } #

Writes Exif physical resolution metadata.