Comparing version 1.0.0 to 1.0.1
@@ -5,4 +5,5 @@ var fs = require('fs') | ||
for (i = 400; i < buf.length - 1; i++) { | ||
if (i % 3 === 2 && buf[i] > 1) { | ||
buf[i] = rng(1,255) | ||
if (buf[i] > 1) { | ||
// over 254 and things do not work. | ||
buf[i] = rng(1,254) | ||
} | ||
@@ -9,0 +10,0 @@ } |
{ | ||
"name": "glitch-jpg", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Dead simple jpg glitching", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
573
3
13