Module png::encoder

source ยท

Structsยง

  • ChunkWriter ๐Ÿ”’
    This writer is used between the actual writer and the ZlibEncoder and has the job of packaging the compressed data into a PNG chunk, based on the image metadata
  • PNG Encoder.
  • Options ๐Ÿ”’
    Decoding options, internal type, forwarded to the Writer.
  • PartialInfo ๐Ÿ”’
    Contains the subset of attributes of Info needed for Writer to function
  • Streaming PNG writer
  • PNG writer

Enumsยง

  • ChunkOutput ๐Ÿ”’
  • FormatErrorKind ๐Ÿ”’
  • Wrapper ๐Ÿ”’
    This enum is used to be allow the StreamWriter to keep its inner ChunkWriter without wrapping it inside a ZlibEncoder. This is used in the case that between the change of state that happens when the last write of a frame is performed an error occurs, which obviously has to be returned. This creates the problem of where to store the writer before exiting the function, and this is where Wrapper comes in.

Constantsยง

Functionsยง

Type Aliasesยง