You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this bug as well with the gradify.py script. My cpu started running at 100% and the process just kept running indefinitely. A stack trace shows that the script is getting hung up here: in get_RGB_diff return abs(1.4*abs(old[0]-new[0])**(1/2.0) + .8*abs(old[1]-new[1])**(1/2.0) + .8*abs(old[2]-new[2])**(1/2.0))**(1/2.0)
@oliversalzburg I've temporarily coded an early exit for photos with less than 4 colors; after exams I will include code that creates gradients for [1-2] colors.
@fraser-hemp Ok, it looks like my problem was due to me changing the black_sensitivity argument's value in the __init__ method. I set it back to 4.3 and it works fine. Apologies for cluttering up this issue.
I tried to load our company logo and it crashed the page. Apparently the script tries to find at least 4 colors.
The text was updated successfully, but these errors were encountered: