共用方式為


FrameFormat Class

Definition

Represents a collection of image format properties (e.g. FOURCC, width, height, stride, ...)

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

Properties

BitsPerPixel

Get the bits per pixel of the frame

FourCC

Get the FourCC representation of the frame

Height

Get the height of the frame in pixels

SensorType

Get the sensor type used to capture the frame.

Stride

Get the stride of the frame in pixels

Width

Get the width of the frame in pixels

Methods

CreateFourCCFormat(Char, Char, Char, Char, Int32, Int32, Int32)

Create a FrameFormat from FourCC values

CreateRgbFormat(Int32, Int32, Int32, Int32)

Create a FrameFormat from RGB values

Dispose()

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

Extension Methods

SetProperty(FrameFormat, String, String)

Sets the value of an advanced property by name.

TryGetProperty(FrameFormat, String, String)

Gets the value of an advanced property by name.

Applies to