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

Not picking up white backgrounds properly. #10

Open
PadraigK opened this issue Jul 27, 2013 · 1 comment
Open

Not picking up white backgrounds properly. #10

PadraigK opened this issue Jul 27, 2013 · 1 comment

Comments

@PadraigK
Copy link

This image http://thisamericanlife.org/sites/all/themes/thislife/images/logo-square-1400.jpg has a white background. The original Mac ColorArt class detects it correctly, however, the background color comes out grey from the iOS version.

@rweichler
Copy link

Weird hack, but I got around this problem by multiplying the RGB by 256, flooring it and checking it against RGB(224, 224, 224).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants