-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How it is different from avanisubbiah/material-color-utilities
?
#3
Comments
Implementation of color generation. Original implementation is not near usable (at least for me). Also I am working on c++ implementation to make it more fast #2
|
Show machine specs
Results with avanisubbiah/material-color-utilities
File used from material_color_utilities_python import *
img = Image.open('/home/tdynamos/Downloads/guillaume-briard-CJp8wVjGZ88-unsplash.jpg')
argb = sourceColorFromImage(img)
print(hexFromArgb(argb)) Results with my latest PR:
File used : materialyoucolor-pyhton/test_color_gen.py Results with current implementation:
File used Also my implementation has color quality option which decides from how much color chunk to choose color from. 1 -> Full quality ie. using all pixels |
Thank you for explanation. Maybe better to implement this in C (instead of cpp), for better integration in python? |
It's already done, I am using google's offcial cpp implemention of color selection and then just patch it to make it work using pybind11. You can try use it yourself now! |
avanisubbiah/material-color-utilities
?
avanisubbiah/material-color-utilities
?avanisubbiah/material-color-utilities
?
Great news! Literally today I wanted to suggest implementing this in Cython/C/C++ - https://discord.com/channels/566880874789076992/942839634025656390/1194118786874355793 |
On my mobile device, rendering a palette from the current wallpaper takes 7 seconds. It's a very long time. We definitely need a faster solution. |
What difference between your package and this
it was literally the sames
FE:
Your palettes/core_palette.py
Two years old repo palettes/core_palette.py
I dont blame you, but maybe it would have been better to fork the repository in the first place, where did you get your inspiration from?
Correct me if im wrong, please.
The text was updated successfully, but these errors were encountered: