Skip to content

Use accurate RGB 8-to-5 conversion #1823

Description

@Rangi42

See https://threadlocalmutex.com/?p=48. Instead of just truncating with >> 3, we should do the equivalent of rounding * 31.0 / 255.0.

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

    Labels

    breakingThis is a breaking change that requires a major version updateenhancementTypically new features; lesser priority than bugsrgbgfxThis affects RGBGFX

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions