Invert Colors

Download the files for this exercise: pixel-manipulation.zip

Pixel Manipulation

Learn about the getImageData() and putImageData() methods that let us capture and display pixels.

Next, learn about the code you'll modify to create an interactive collage.

See the completed pixel-manipulation exercise.

Related Content

Learn how to open Chrome on a PC so you can read the pixels on local files.

Learn how to open Chrome on a Mac so you can access local files.