Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeWebpEncodeOptions

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Controls managed WebP encoding.

Inheritance

  • Object
  • OfficeWebpEncodeOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Properties

public OfficeWebpEncodingMode Mode { get; set; } #

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

public Int32 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 Boolean WritePhysicalResolution { get; set; } #

Writes Exif physical resolution metadata.