CameraImage class

A single complete image buffer from the platform camera.

This class allows for direct application access to the pixel data of an Image through one or more Uint8List. Each buffer is encapsulated in a Plane that describes the layout of the pixel data in that plane. The CameraImage is not directly usable as a UI resource.

Although not all image formats are planar on iOS, we treat 1-dimensional images as single planar images.

Properties

format ImageFormat
Format of the image provided.
final
hashCode int
The hash code for this object.
no setterinherited
height int?
Height of the image in pixels.
final
planes List<Plane>
The pixels planes for this image.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int?
Width of the image in pixels.
final

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