Created
July 20, 2014 08:50
-
-
Save anonymous/7fc9cce195af37565072 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drawBinary(binaryImage){ | |
var canvas = document.createElement('canvas'); | |
var context = canvas.getContext('2d'); | |
var imageData = context.createImageData(width, height); | |
context.putImageData(binaryImage); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment