Module surf_n_term::image

source ·
Expand description

Handling everything to do with images.

Provides:

  • Protocol handling
  • Image object
  • Quantization and dithering

Structs§

  • Color palette which implements fast NNS with euclidean distance.
  • Image handler which ignores requests
  • Arc wrapped RGBA surface with precomputed hash
  • Draw image with ASCII blocks
  • 3-dimensional KDTree which is used to quickly find nearest (euclidean distance) color from the palette.
  • Image handler for kitty graphic protocol
  • Oc(tet)Tree used for color quantization
  • Image handler for sixel graphic protocol

Enums§

Traits§