timedata-org / old-timedata

Time arts data - high-performance color processing in C++ and Python.
7 stars 3 forks source link

add color code from other pypi color libraries. #51

Open rec opened 8 years ago

rec commented 8 years ago

What's the XKCD color survey?

https://pypi.python.org/pypi/colour - https://github.com/vaab/colour https://pypi.python.org/pypi/colormath - https://github.com/gtaylor/python-colormath https://github.com/jrosebr1/color_transfer https://github.com/edaniszewski/colorutils
(Also: https://github.com/edaniszewski/colorutils/wiki/Comparing-Conversion-Algorithms) https://github.com/njsmith/colorspacious

adammhaile commented 8 years ago

Not sure what you are getting at here? XKCD?

rec commented 8 years ago

Oh, someone's color library said, "Names taken from the XKCD color survey" so this was a note to look it up.

And here's the link: https://blog.xkcd.com/2010/05/03/color-survey-results/

rec commented 8 years ago

Edited down:

These three are the final shootout.

https://github.com/gtaylor/python-colormath/tree/master/colormath - has a lot of color models https://github.com/edaniszewski/colorutils - also has a lot of color models. https://github.com/njsmith/colorspacious - also has a lot of color models.

I'm leaning towards NJ. He seems to have the least Python-y things and the most computation (he's also using numpy heavily which shows intelligence.

Since I'm doing all the heavy lifting in C++, all the Python-y stuff is a definite distraction.

rec commented 8 years ago

Oh, and I should duplicate also the code in Python's own colorsys, which is pure Python and thus could be dramatically sped up...

adammhaile commented 8 years ago

Yes please :) I have my own implementation of that, but it's still pure Python and only faster because I use bytes instead of float.

On Fri, Jun 10, 2016 at 11:28 AM, Tom Swirly notifications@github.com wrote:

Oh, and I should duplicate also the code in Python's own colorsys, which is pure Python and thus could be dramatically sped up...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rec/tada/issues/51#issuecomment-225214391, or mute the thread https://github.com/notifications/unsubscribe/AA6a6mmMsX_sBsUvU9JCavPBsgZY9LPNks5qKYKdgaJpZM4IqBlX .