JpegEncoder class
Encode an image to the JPEG format.
Derived from: https://github.com/owencm/javascript-jpeg-encoder
Constructors
- JpegEncoder({int quality = 100})
Properties
-
bitcode
→ List<
List< int> ?> -
final
-
category
→ List<
int?> -
final
- currentQuality ↔ int?
-
getter/setter pair
-
DU
→ List<
int?> -
final
- fdtbl_UV → Float32List
-
final
- fdtbl_Y → Float32List
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
outputfDCTQuant
→ List<
int?> -
final
- RGB_YUV_TABLE → Int32List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supportsAnimation → bool
-
Does this encoder support animation?
no setterinherited
- UDU → Float32List
-
final
-
UVAC_HT
↔ List<
List< int> ?> -
getter/setter pair
-
UVDC_HT
↔ List<
List< ?int> ?> -
getter/setter pair
- UVTable → Uint8List
-
final
- VDU → Float32List
-
final
-
YAC_HT
↔ List<
List< int> ?> -
getter/setter pair
-
YDC_HT
↔ List<
List< ?int> ?> -
getter/setter pair
- YDU → Float32List
-
final
- YTable → Uint8List
-
final
Methods
-
encodeAnimation(
Animation anim) → List< int> ? -
Encode an animation. Not all formats support animation, and null
will be returned if not.
inherited
-
encodeImage(
Image image) → List< int> -
Encode a single image.
override
-
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
-
STD_AC_CHROMINANCE_NR_CODES
→ const List<
int> -
STD_AC_CHROMINANCE_VALUES
→ const List<
int> -
STD_AC_LUMINANCE_NR_CODES
→ const List<
int> -
STD_AC_LUMINANCE_VALUES
→ const List<
int> -
STD_DC_CHROMINANCE_NR_CODES
→ const List<
int> -
STD_DC_CHROMINANCE_VALUES
→ const List<
int> -
STD_DC_LUMINANCE_NR_CODES
→ const List<
int> -
STD_DC_LUMINANCE_VALUES
→ const List<
int> -
ZIGZAG
→ const List<
int>