JpegXlTranscodeOptions Class

Immutable options for JpegXlTranscoder.

public sealed class JpegXlTranscodeOptions

Constructors

NameDescription
JpegXlTranscodeOptions()

JpegXlTranscodeOptions()

JpegXlTranscodeOptions.cs
public JpegXlTranscodeOptions()

No documentation is available.

Properties

NameDescription
ConfigurationGets the configuration (resource limits). Defaults to ImageConfiguration.Default.
DefaultGets the default options.
EffortGets the compression effort of JpegXlTranscoder.RecompressJpeg, from 0 (fastest, largest output) to 9 (slowest, smallest output). Defaults to 5. The effort never changes the JPEG file that the output rebuilds.

Gets the configuration (resource limits). Defaults to ImageConfiguration.Default.

public ImageConfiguration Configuration { get; init; }

Property value

ImageConfiguration

Exceptions

ArgumentNullException
The value is null.

Gets the default options.

public static JpegXlTranscodeOptions Default { get; }

Gets the compression effort of JpegXlTranscoder.RecompressJpeg, from 0 (fastest, largest output) to 9 (slowest, smallest output). Defaults to 5. The effort never changes the JPEG file that the output rebuilds.

public int Effort { get; init; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is not between 0 and 9.