pub struct StreamingDecoder { /* private fields */ }
Expand description

GIF decoder which supports streaming

Implementations

Creates a new streaming decoder

Updates the internal state of the decoder.

Returns the number of bytes consumed from the input buffer and the last decoding result.

Returns the data of the last extension that has been decoded.

Current frame info as a mutable ref.

Current frame info as a ref.

Width of the image

Height of the image

The version number of the GIF standard used in this image.

We suppose a minimum of V87a compatibility. This value will be reported until we have read the version information in the magic header bytes.

👎 Deprecated:

Does not work as intended. In fact, doesn’t do anything. This may disappear soon.

Configure whether extensions are saved or skipped.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.