HTML5 Canvas - Make and Image Black and White
Using canvas we can write very little code to convert and image into black white. Really all you need to do is use the formular R*.3 + G*.59 + B*.11 and store that as each pixel. In actuality you could use any numbers as long as you store each sub pixel as the same value it will be black and white
Using canvas we can write very little code to convert and image into black white. Really all you need to do is use the formular R*.3 + G*.59 + B*.11 and store that as each pixel. In actuality you could use any numbers as long as you store each sub pixel as the same value it will be black and white