22#ifndef GRAPHICS_COLOR_QUANTIZER_H
23#define GRAPHICS_COLOR_QUANTIZER_H
40 Octree *_octree =
nullptr;
Class for selecting a good palette from a large number of colors.
Definition: color_quantizer.h:38
void addColor(byte r, byte g, byte b)
Add a single color to the quantizer.
Palette * getPalette()
Retrieve the resulting palette from the quantizer.
ColorQuantizer(int maxColors)
Construct a new ColorQuantizer object.
Simple class for handling a palette data.
Definition: palette.h:61
Definition: atari-screen.h:42
Definition: formatinfo.h:28