diff --git a/index.php b/index.php index 24d8d0c..29d7646 100644 --- a/index.php +++ b/index.php @@ -102,9 +102,9 @@ const copy = ctx.createImageData(128, 64); for (let i = 0; i < copy.data.length; i += 4) { - //if (bits.substring(i/4, 1) == "1") { + if (bits.substring(i/4, 1) === "1") { copy.data[i+3] = 255; - //} + } } ctx.putImageData(copy, 0, 0);