| javascript Programming Glossary: pixgetPixel from HTML Canvas? http://stackoverflow.com/questions/667045/getpixel-from-html-canvas    share improve this question   There's a section about pixel manipulation in the W3C documentation. Here's an example on.. var imgd context.getImageData x y width height var pix imgd.data Loop over each pixel and invert the color. for var.. x y width height var pix imgd.data Loop over each pixel and invert the color. for var i 0 n pix.length i n i 4 pix.. 
 |