B
B
Bogdan2019-03-12 18:46:50
JavaScript
Bogdan, 2019-03-12 18:46:50

Canvas Contrast custom filter?

Hello. Tell me please. Due to the fact that Safari does not support context.filter, you need to implement a custom filter, I did it according to google , but the result between the contrast in context.filter and the google function is different
5c87d45b9df37481867050.png
Thank you.
P.S. For some reason, the codepen is not inserted as a block, here is a link to Codepen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RAX7, 2019-03-12
@bogdan_uman

https://codepen.io/anon/pen/EMbKyr?editors=0010
stolen from here https://stackoverflow.com/questions/10521978/html5...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question