HTML5 Canvas Image Effects: Black & White

Some fundamentals of pixel manipulation in the canvas

The new canvas tag in HTML5  is known for its illustration power. It’s basically an empty element on which you can write and sketch using Javascript. But there’s a hidden power: image manipulation.

In our opinion, this is the most important element that differs from SVG. With canvas you can perform operations on pixel based artworks. You can write a new image pixel by pixel or import an image in the canvas and modify it as you need.

In this article we’ll show you some fundamentals of pixel manipulation in the canvas, and how to use this knowledge to obtain interesting effects. Let’s start from the beginning.

Comments

Be the first to write a comment

You must me logged in to write a comment.