Skip to content

Quantize colors from a RGB(A) buffer. #68

@srijan-paul

Description

@srijan-paul

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions