ImageIdentifyOptions Class

Immutable options for the Image.Identify and Image.IdentifyAsync methods.

public sealed class ImageIdentifyOptions

Constructors

NameDescription
ImageIdentifyOptions()

ImageIdentifyOptions()

ImageIdentifyOptions.cs
public ImageIdentifyOptions()

No documentation is available.

Properties

NameDescription
ConfigurationGets the configuration whose resource limits apply while identifying. Defaults to ImageConfiguration.Default.
DefaultGets the default options (ImageIdentifyMode.Header mode).
ModeGets how much of the file is examined. Defaults to ImageIdentifyMode.Header.

Gets the configuration whose resource limits apply while identifying. Defaults to ImageConfiguration.Default.

public ImageConfiguration Configuration { get; init; }

Property value

ImageConfiguration

Exceptions

ArgumentNullException
The value is null.

Gets the default options (ImageIdentifyMode.Header mode).

public static ImageIdentifyOptions Default { get; }

Property value

ImageIdentifyOptions

Gets how much of the file is examined. Defaults to ImageIdentifyMode.Header.

public ImageIdentifyMode Mode { get; init; }

Property value

ImageIdentifyMode

Exceptions

ArgumentOutOfRangeException
The value is not a defined ImageIdentifyMode.