CompressFormat enum

Webp only support android.

heic:

  • iOS: support iOS11+.
  • android: API 28+, and May require hardware encoder support, does not guarantee that all devices above API28 are available. Use HeifWriter
Inheritance
Available extensions

Values

jpeg → const CompressFormat
png → const CompressFormat
heic → const CompressFormat
webp → const CompressFormat

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<CompressFormat>
A constant List of the values in this enum, in order of their declaration.