Skip to content

Add colour quantization to convert 16/24/32-bit RGB to 8-bit indexed images #388

@kaixiong

Description

@kaixiong

I'm not sure how relevant colour quantization is now for today's display devices, but this would be great for completeness sake.

There are some well known and performant algorithms to quantize colours to 256. Relatively easy to implement too:

Octrees

Median Cut

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions