thephpleague / color-extractor

Extract colors from an image like a human would do.

Home Page:thephpleague.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Execution takes longer than 60 seconds for a single-colored logo

leolabs opened this issue · comments

Basically, I use your script to extract the 5 most used colors from a logo the the user can upload to my server. It's working fine with multi-colored images but takes more than 60 seconds for single or double-colored images.

Works fine:
logo-bs-multimedia

Takes longer than 60 seconds:
logo-haarpunkt

Thanks, I'll take a look.
Nice avatar by the way.

Should be fixed by 0011f74.

Thanks! It's working almost perfectly now.