T
T
Tash1moto2016-11-15 12:42:35
JavaScript
Tash1moto, 2016-11-15 12:42:35

What library can be used?

Hello.
Prompt the library for determining the brightness of the image, by the average value of the brightness of all pixels.
Determining the dominant color in an image.
I can write it myself, but I suspect there are already many such libraries.
The task is to implement changes in the background color, depending on the dominant color of the image, as in iTunes on the music page. album.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Barrakuda74, 2016-11-15
@Barrakuda74

lokeshdhakar.com/projects/color-thief
https://github.com/rythgs/jquery.primarycolor.js
https://www.sitepoint.com/4-detect-darklight-backg...
In general, there are a lot of them: ))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question