pub enum Decoded {
Nothing,
Header(u32, u32, BitDepth, ColorType, bool),
ChunkBegin(u32, ChunkType),
ChunkComplete(u32, ChunkType),
PixelDimensions(PixelDimensions),
AnimationControl(AnimationControl),
FrameControl(FrameControl),
ImageData,
ImageDataFlushed,
PartialChunk(ChunkType),
ImageEnd,
}
Expand description
Result of the decoding process
Variants§
Nothing
Nothing decoded yet
Header(u32, u32, BitDepth, ColorType, bool)
ChunkBegin(u32, ChunkType)
ChunkComplete(u32, ChunkType)
PixelDimensions(PixelDimensions)
AnimationControl(AnimationControl)
FrameControl(FrameControl)
ImageData
Decoded raw image data.
ImageDataFlushed
The last of a consecutive chunk of IDAT was done. This is distinct from ChunkComplete which only marks that some IDAT chunk was completed but not that no additional IDAT chunk follows.