Module palette

Source

Enums§

FilePalette
How palette data is stored in an ICI file

Functions§

simplify_palette
merges similar colors that fall with threshold of each other will remove gradients if threshold is too high or gradient too smooth
simplify_palette_to_fit
merges similar colors until there are < max unique colors the result will contain duplicates so the index is preserved