Udostępnij za pośrednictwem


ImageWriter.Write Method

Definition

Overloads

Write(Image)

Copy a new input image to the internal buffer.

Write(Memory<Byte>)

Writes a single image to the internal buffer.

Write(Image)

Copy a new input image to the internal buffer.

public void Write (Azure.AI.Vision.Common.Image image);
member this.Write : Azure.AI.Vision.Common.Image -> unit
Public Sub Write (image As Image)

Parameters

image
Image

The new image

Remarks

Not yet support for usage with ImageAnalyzer

Applies to

Write(Memory<Byte>)

Writes a single image to the internal buffer.

public void Write (Memory<byte> image);
member this.Write : Memory<byte> -> unit
Public Sub Write (image As Memory(Of Byte))

Parameters

image
Memory<Byte>

The image data buffer

Remarks

When used with ImageAnalyzer, the image needs to be in a format that's supported by the Image Analysis service, such as JPEG, PNG or BMP. See full list of supported formats here: https://aka.ms/ia-input. The SDK sends the image buffer as-is to the service. No format conversion is done.

Applies to