Halftone-QRCode-Generator icon indicating copy to clipboard operation
Halftone-QRCode-Generator copied to clipboard

Dithering issue in master/halftoneqr.js

Open michelsollie opened this issue 3 years ago • 0 comments

master/halftoneqr.js, line 113:

var width = Math.sqrt(d.length / 4) / pixelSize;

should be:

var width = Math.sqrt(d.length / 4);

to make the atkinson dithering work correctly.

michelsollie avatar Apr 25 '22 09:04 michelsollie