BmpInfoWithAlphaChannel class
Properties
-
forceRgba
↔ bool
-
getter/setter pairinherited
-
format
→ ImageFormat
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
info
↔ BmpInfo?
-
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(Uint8List data, {int? frame})
→ Image?
-
Decode the file and extract a single image from it. If the file is
animated, the specified
frame
will be decoded. If there was a problem
decoding the file, null is returned.
inherited
-
decodeFrame(int frame)
→ Image
-
Decode a single frame from the data stat was set with
startDecode
.
If frame
is out of the range of available frames, null is returned.
Non animated image files will only have frame
0. An AnimationFrame
is returned, which provides the image, and top-left coordinates of the
image, as animated frames may only occupy a subset of the canvas.
inherited
-
isValidFile(Uint8List data)
→ bool
-
Is the given file a valid BMP image?
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
numFrames()
→ int
-
How many frames are available to be decoded. startDecode should have
been called first. Non animated image files will have a single frame.
inherited
-
startDecode(Uint8List bytes)
→ BmpInfo?
-
Start decoding the data as an animation sequence, but don't actually
process the frames until they are requested with decodeFrame.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited