Enum png::Decoded [−][src]
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 decoded yet
Tuple Fields of PixelDimensions
Tuple Fields of AnimationControl
Tuple Fields of FrameControl
0: FrameControl
Decoded raw image data.
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.
Tuple Fields of PartialChunk
0: ChunkType