chickadee » leptonic » pix-threshold-to-2bpp

pix-threshold-to-2bppprocedure
  • in - PPIX - 8bpp
  • in - NLEVELS - 2..4 equally spaced levels in output ppix
  • in - CMAP? - 0/1
  • returns: dithered 2bpp ppix or #f on error.