|All requests||>||What is the best PHP get dominant col...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by candace diane arledge - 1 year ago (2021-07-15)
I have a large number of images and need them sorted by color.
I have a huge file of images used for scrapbooking, and I need them to be sorted into individual folders for each primary color.
I need each file to be sorted into folders based on full-page (background) images or not.
But if you look for something very fast - take a look over here:
github / gaffling / PHP-Simple-Color-Thief
That is a good problem. It seems to have several parts.
For detecting the dominant color of an image, you may try this package above as it seems to do what you want.
Then, to sort the images by color, maybe you need a solution that considers that close colors may go in the same folder.
In that case, maybe some other colleague developer can recommend a different package or develop a new package for that problem.
Just reply here to let me know if this recommendation helped you.
1. by Hassane Moussa Reply- 1 year ago (2021-07-16)
Hi Lemos, I can updating this package (PHP Detect Image Background Color) to add the solution of this problem. I just wait your agree ! Best regards, Hassane Moussa