GifAnimationDecoder class final

Decodes and inspects bounded GIF animation data.

Inheritance

Constructors

GifAnimationDecoder({GifAnimationDecodeOptions options = const GifAnimationDecodeOptions()})
Creates a reusable GIF animation decoder.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
options GifAnimationDecodeOptions
Default settings used by convert.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<List<int>> stream) Stream<RasterAnimation>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(List<int> input) RasterAnimation
Converts input and returns the result of the conversion.
override
decode(Uint8List bytes, {GifAnimationDecodeOptions? options}) RasterAnimation
Decodes a complete composited frame sequence.
fuse<TT>(Converter<RasterAnimation, TT> other) Converter<List<int>, TT>
Fuses this with other.
inherited
inspect(Uint8List bytes, {GifAnimationDecodeOptions? options}) GifAnimationInfo
Reads header information without allocating frame pixels.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<RasterAnimation> sink) Sink<List<int>>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited