Skip to content
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

Gradient colors #15

Open
mjhollerATme opened this issue May 9, 2021 · 2 comments
Open

Gradient colors #15

mjhollerATme opened this issue May 9, 2021 · 2 comments

Comments

@mjhollerATme
Copy link

mjhollerATme commented May 9, 2021

Hi! It seems as if get_colors() and/or replace_colors() are not working with gradients. Are you aware of this and are you planing on fixing this? Thanks in advance and thank you so much for your work.

edit: Also does not seem to work with animated colors.
edit 2: the "colorify" function does work with animated colors but also doesn't work with gradient colors unfortunately.

Regards, Jonathan

@xxmuaddib
Copy link
Owner

Thanks @mjhollerATme for your feedback! Can you send some example of lottie files with animated and gradient data? And I will fix it on the weekend!

@mjhollerATme
Copy link
Author

Sure!
here are some examples:

no gradient but some of the colors won’t change (maybe they are specified as a gradient – I don’t know….):
https://assets9.lottiefiles.com/packages/lf20_efzurnmh.json

just a random gradient:
https://assets3.lottiefiles.com/temp/lf20_EHOqTq.json

and another one with gradient:
https://assets3.lottiefiles.com/packages/lf20_IrVVaU.json

and the one that animates a color – in this case it is the pinkish color of the phone screen which ist slightly animated. It works with getcolors and the colorfiy function – but not with the replacecolor function
http://mjholler.de/digitalv003.json

btw. These are all pretty recent lottie files from the directory. And the last one I recall exporting with AE 2020

Thank you very much and kind regards,
Jonathan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants