(I'd be happy to contribute this feature if PRs are welcome).
Currently, we have to set the global/local color table manually.
However, when writing an RGBA buffer, it would be much easier if the library could quantize the colors into a 256-bit space.
GIFLIB, for example, has a GifQuantizeColors function that is very handy for creating frame-local color tables.
(I'd be happy to contribute this feature if PRs are welcome).
Currently, we have to set the global/local color table manually.
However, when writing an RGBA buffer, it would be much easier if the library could quantize the colors into a 256-bit space.
GIFLIB, for example, has a
GifQuantizeColorsfunction that is very handy for creating frame-local color tables.