共用方式為


ImageSourceBuffer Class

Definition

Represents a source of image data, used as input to or output from Vision AI operations.

public class ImageSourceBuffer : IDisposable
type ImageSourceBuffer = class
    interface IDisposable
Public Class ImageSourceBuffer
Implements IDisposable
Inheritance
ImageSourceBuffer
Implements

Constructors

ImageSourceBuffer(Action<ImageWriter>)

Constructor that takes an optional callback function to write a new image

ImageSourceBuffer(ImageFormat, Action<ImageWriter>)

Constructor that takes an ImageFormat and optional callback function to write a new image

Methods

CloseWriter()

Closes the ImageSourceBuffer for writing.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetReader()

Gets a ImageReader associated with this ImageSourceBuffer

GetWriter()

Gets the ImageWriter associated with this ImageSourceBuffer

Extension Methods

SetProperty(ImageSourceBuffer, String, String)

Sets the value of an advanced property by name.

TryGetProperty(ImageSourceBuffer, String, String)

Gets the value of an advanced property by name.

Applies to