ImageConvertThreadRequest class
Represents an image object sent from the main thread.
- Inheritance
-
- Object
- ThreadRequest
- ImageConvertThreadRequest
Constructors
- ImageConvertThreadRequest({required bool? generateOnlyImageBounds, required String id, required Image image, required OutputFormat outputFormat, required bool singleFrame, required int pngLevel, required PngFilter pngFilter, required int jpegQuality, required JpegChroma jpegChroma})
-
Constructor for creating an ImageConvertThreadRequest instance.
const
Properties
- generateOnlyImageBounds → bool?
-
Specifies whether only the bounds of the image should be generated.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier for this task.
finalinherited
- image → Image
-
The image object from the
image
package.finalinherited - jpegChroma → JpegChroma
-
Specifies the chroma subsampling method for JPEG images.
finalinherited
- jpegQuality → int
-
Specifies the quality level for JPEG images. Ranges from 2 to 100.
finalinherited
- mode → String
-
A getter that returns the operation mode of the request.
no setteroverride
- outputFormat → OutputFormat
-
Specifies the output format for the generated image.
finalinherited
- pngFilter → PngFilter
-
Specifies the filter method for optimizing PNG compression.
finalinherited
- pngLevel → int
-
Specifies the compression level for PNG images. Ranges from 0 to 9.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleFrame → bool
-
Specifies whether single frame generation is enabled for the output
formats PNG, TIFF, CUR, PVR, and ICO.
finalinherited
Methods
-
imageToMap(
) → Map< String, dynamic> -
Converts the image property into a
Map<String, dynamic>
representation.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toConvertThreadRequest(
) → ImageConvertThreadRequest -
Converts the
ThreadWebRequest
instance into anImageConvertThreadRequest
.inherited -
toMap(
) → Map< String, dynamic> -
Converts the ThreadWebRequest instance into a
Map<String, dynamic>
representation.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited