JpegHealthyEncoder class
Encode an image to the JPEG format.
Derived from: https://github.com/owencm/javascript-jpeg-encoder
Constructors
- JpegHealthyEncoder.new({int quality = 100})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
encode(
Image image, {int backgroundColor = 0xFF000000, JpegChroma chroma = JpegChroma.yuv444, bool singleFrame = false, Completer< void> ? destroy$}) → Future<Uint8List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setQuality(
int quality) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
stdAcChrominanceNrCodes
→ const List<
int> -
stdAcChrominanceValues
→ const List<
int> -
stdAcLuminanceNrCodes
→ const List<
int> -
stdAcLuminanceValues
→ const List<
int> -
stdDcChrominanceNrCodes
→ const List<
int> -
stdDcChrominanceValues
→ const List<
int> -
stdDcLuminanceNrCodes
→ const List<
int> -
stdDcLuminanceValues
→ const List<
int>