Skip to content
Advertisement

Threshold image colors – Base64

I would like to use threshold filter on base64 string (data:image/png;base64,iVBOR...) using javaScript like this:

JavaScript

Is it possible and if it is, how can I do this?

Advertisement

Answer

enter image description here

JavaScript

MDN – putImageData
MDN – getImageData

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement