ImageFormat class abstract

Image format constants.

Annotations
  • @Reference('android_hardware/camera/ImageFormat')

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

getBitsPerPixel(int format) Future<int>
Use this function to retrieve the number of bits per pixel of an ImageFormat.

Constants

depth16 → const int
Android dense depth image format.
depthJpeg → const int
Depth augmented compressed JPEG format.
heic → const int
Compressed HEIC format.
jpeg → const int
Compressed JPEG format.
nv16 → const int
YCbCr format, used for video.
nv21 → const int
YCrCb format used for images, which uses the NV21 encoding format.
rawPrivate → const int
Private raw camera sensor image format, a single channel image with implementation depedent pixel layout.
rgb565 → const int
RGB format used for pictures encoded as RGB_565.
unknown → const int
yuy2 → const int
YCbCr format used for images, which uses YUYV (YUY2) encoding format.
yv12 → const int
Android YUV format.