gaffling / gaffling/PHP-Simple-Color-Thief
Is there a way to pick the Precise color of the most dominant color?
- Dominant language
- PHP
- Stars
- 14
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Hi Igor,
Thanks for the code. Really well written and works pretty well for the most part. However, I wonder what would be the best way to use it to get the exact hex value of the most dominant color on an image?
For example:
If I take the bitcoin icon from Wikipedia:
https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/BTC_Logo.svg/183px-BTC_Logo.svg.png
I am getting the hex: c38234
Whereas the dominant color is: F79413
Any tips would be highly appreciated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the result using the linked Bitcoin icon and compare the returned c38234 value with the expected F79413 value. The issue names no source file or test, so first locate the dominant-color entry point and any existing color-extraction tests. Done means the documented behavior explains or returns the precise dominant color for this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100