Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for full-color images #32

Open
tokee opened this issue Jan 18, 2017 · 0 comments
Open

Add support for full-color images #32

tokee opened this issue Jan 18, 2017 · 0 comments
Assignees

Comments

@tokee
Copy link
Owner

tokee commented Jan 18, 2017

The current internal structures are hard-coded for greyscale. Switching to RGB means a tripling of the cache storage requirements and makes it more challenging to match images to a given pixel color.

Maybe a reduced 6x6x6 color space (representable as a single byte, just as with grey scale) for matching would work? But it is not obvious how to locate nearest color, when there is no exact match.

Relevant StackOverflow: http://stackoverflow.com/questions/4057475/rounding-colour-values-to-the-nearest-of-a-small-set-of-colours

@tokee tokee self-assigned this Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant