Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Struct

OfficeJpegDecodeOptions

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base ValueType
Modifiers sealed

JPEG decoding options.

Inheritance

  • ValueType
  • OfficeJpegDecodeOptions

Usage

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

Accepted by parameters

Examples


var options = new OfficeJpegDecodeOptions(highQualityChroma: true, allowTruncated: true);
OfficeRasterImage image = OfficeJpegCodec.Decode(data, options);
        

Constructors

public OfficeJpegDecodeOptions(Boolean highQualityChroma = false, Boolean allowTruncated = false) #

Creates JPEG decode options.

Parameters

highQualityChroma System.Boolean = false optionalposition: 0
allowTruncated System.Boolean = false optionalposition: 1

Properties

public Boolean HighQualityChroma { get; } #

Enables higher-quality chroma upsampling when components are subsampled.

public Boolean AllowTruncated { get; } #

Allows truncated scan data (best-effort decode).