ImageFormatGroup enum

Group of image formats that are comparable across Android and iOS platforms.



unknown → const ImageFormatGroup

The image format does not fit into any specific group.

yuv420 → const ImageFormatGroup

Multi-plane YUV 420 format.

This format is a generic YCbCr format, capable of describing any 4:2:0 chroma-subsampled planar or semiplanar buffer (but not fully interleaved), with 8 bits per color sample.

On Android, this is See

On iOS, this is kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange. See

bgra8888 → const ImageFormatGroup

32-bit BGRA.

On iOS, this is kCVPixelFormatType_32BGRA. See

jpeg → const ImageFormatGroup

32-big RGB image encoded into JPEG bytes.

On Android, this is See

nv21 → const ImageFormatGroup

YCrCb format used for images, which uses the NV21 encoding format.

On Android, this is See


hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


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


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


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