Module png::adam7

source ยท
Expand description

Utility functions related to handling of the Adam7 algorithm.

Structsยง

  • Describes which stage of the Adam7 algorithm applies to a decoded row.
  • Adam7Iterator ๐Ÿ”’
    This iterator iterates over the different passes of an image Adam7 encoded PNG image The pattern is: 16462646 77777777 56565656 77777777 36463646 77777777 56565656 77777777

Functionsยง

  • expand_adam7_bits ๐Ÿ”’
    Given row_stride, interlace info, and bits-per-pixel, produce an iterator of bit positions of pixels to copy from the input scanline to the image buffer. The positions are expressed as bit offsets from position (0,0) in the frame that is currently being decoded.
  • Copies pixels from interlaced_row into the right location in img.
  • subbyte_pixels ๐Ÿ”’