ImagePixelFormat enum Sensor Data Source

Image pixel encoding formats.

Defines various pixel formats used by camera sensors for encoding frame data.

See also:

Inheritance
Available extensions

Values

unknown → const ImagePixelFormat

Unknown or unspecified pixel format.

rgb888 → const ImagePixelFormat

RGB 888: 8-bit Red, 8-bit Green, 8-bit Blue.

bgr888 → const ImagePixelFormat

BGR 888: 8-bit Blue, 8-bit Green, 8-bit Red.

abgr8888 → const ImagePixelFormat

ABGR 8888: 8-bit Alpha, 8-bit Blue, 8-bit Green, 8-bit Red.

alpha8 → const ImagePixelFormat

Alpha-only: 8-bit Alpha channel.

rgb565 → const ImagePixelFormat

RGB 565: 5-bit Red, 6-bit Green, 5-bit Blue.

argb8888 → const ImagePixelFormat

ARGB 8888: 8-bit Alpha, 8-bit Red, 8-bit Green, 8-bit Blue.

yuv420_888 → const ImagePixelFormat

YUV 420 888: YCbCr color space (YUV).

yv12 → const ImagePixelFormat

YV12: YCrCb planar format.

nv21 → const ImagePixelFormat

NV21: Android YUV format (semi-planar).

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ImagePixelFormat>
A constant List of the values in this enum, in order of their declaration.