evanw / glfx.js

An image effects library for JavaScript using WebGL
https://evanw.github.io/glfx.js/
MIT License
3.26k stars 402 forks source link

Manipulate pixels #33

Open dragondgold opened 8 years ago

dragondgold commented 8 years ago

Hi, I'm trying to remove a certain color from the image after applying some filter. Is is possible to do pixel manipulation? canvas.getPixelArray() gives me all the pixels but I can't modify and reapply them to the canvas.