ImageFormat Class

Definition

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

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

Properties

BitsPerPixel

Get the bits per pixel of the Image

FourCC

Get the FourCC representation of the Image

Height

Get the height of the Image in pixels

SensorType

Get the sensor type used to capture the Image.

Stride

Get the stride of the Image in pixels

Width

Get the width of the Image in pixels

Methods

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

Create a ImageFormat from FourCC values

CreateRgbFormat(Int32, Int32, Int32, Int32)

Create a ImageFormat from RGB values

Dispose()

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

Extension Methods

SetProperty(ImageFormat, String, String)

Sets the value of an advanced property by name.

TryGetProperty(ImageFormat, String, String)

Gets the value of an advanced property by name.

Applies to