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

Background color of images #51

Open
jace opened this issue Dec 28, 2013 · 0 comments
Open

Background color of images #51

jace opened this issue Dec 28, 2013 · 0 comments

Comments

@jace
Copy link
Member

jace commented Dec 28, 2013

Imgee should detect and store the background color of an image. This can be useful when displaying a nontransparent image to set the general background to the same color. (Use case: sponsor logos on non-white backgrounds.)

Algorithm: sample 1px from each of the four edges and pick the color that is most common.

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