Module png::common

source ·
Expand description

Common types shared between the encoder and decoder

Structs

Enums

  • Bit depth of the PNG file. Specifies the number of bits per sample.
  • How pixels are written into the buffer.
  • Internal count of bytes per pixel. This is used for filtering which never uses sub-byte units. This essentially reduces the number of possible byte chunk lengths to a very small set of values appropriate to be defined as an enum.
  • Describes how a pixel is encoded.
  • The type and strength of applied compression.
  • How to reset buffer of an animated png (APNG) at the end of a frame.
  • The rendering intent for an sRGB image.
  • Physical unit of the pixel dimensions