ImageFormat enum
Used for specifying the desired pixel format of frames from the native decoder. The none option will return the frames in the format they came from the decoder and can be faster. After frames have been transformed in dart and are no longer in the initial format they also use none.
Values
- rgba → const ImageFormat
- bgra → const ImageFormat
- arbg → const ImageFormat
- abgr → const ImageFormat
- yuv420P → const ImageFormat
- gray8A → const ImageFormat
- gray16LE → const ImageFormat
- none → const ImageFormat
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<
ImageFormat> - A constant List of the values in this enum, in order of their declaration.