ImageCompression class sealed
Represents the compression level of an image, which affects quality and file size.
Constructors
- ImageCompression.custom(int value)
-
Creates a custom image quality level with a specified value.
factory
Properties
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
- high → const _FixedImageCompression
- High image compression, with minimal quality and smaller file size.
- low → const _FixedImageCompression
- Low image compression, with higher quality and larger file size.
- medium → const _FixedImageCompression
- Medium image compression, balancing quality and image clarity.
- none → const _FixedImageCompression
- No compression, with highest quality and largest file size.