ImageWriter.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET