Class
OfficeWebpEncodeOptions
OfficeIMO.Drawing
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
- Property OfficeRasterEncodingOptions.Webp
Accepted by parameters 2
- Method OfficeWebpCodec.Encode
- Method OfficeWebpCodec.EncodeTo
Constructors
public OfficeWebpEncodeOptions() #Inherited Methods
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.