镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

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

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