Dela via


ImageMetadata Class

Definition

Metadata associated with the analyzed image.

public class ImageMetadata : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.ImageAnalysis.ImageMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.ImageAnalysis.ImageMetadata>
type ImageMetadata = class
    interface IJsonModel<ImageMetadata>
    interface IPersistableModel<ImageMetadata>
Public Class ImageMetadata
Implements IJsonModel(Of ImageMetadata), IPersistableModel(Of ImageMetadata)
Inheritance
ImageMetadata
Implements

Properties

Height

The height of the image in pixels.

Width

The width of the image in pixels.

Explicit Interface Implementations

IJsonModel<ImageMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ImageMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ImageMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to