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
height int
Height of the image in pixels. [...]
final
planes List<Plane>
The pixels planes for this image. [...]
final
width int
Width of the image in pixels. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited