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

Way to match the CSS webkit filters? #214

Open
saurabhudaniya200 opened this issue Feb 24, 2017 · 1 comment
Open

Way to match the CSS webkit filters? #214

saurabhudaniya200 opened this issue Feb 24, 2017 · 1 comment

Comments

@saurabhudaniya200
Copy link

saurabhudaniya200 commented Feb 24, 2017

I am using CamanJS in my project and it is working fine as expected, but in my application I have a whole bunch of images which I put inside the container and then apply the CSS filters directly to the container instead of applying the effects to all the images individually, the CSS filters I use are below

-webkit-filter: brightness(100%) contrast(100%) saturate(100%) hue-rotate(0deg) sepia(0.7) grayscale(1);

Once user hits next then I use the Caman JS to create the actual images, so is there an algorithm that I can use to match the values especially brightness?

@AshwinTayson
Copy link

Yes. This has been asked in other forums also. I hope we get answer from the author soon.

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