mahlu

Results issues of mahlu

dominant(img.data) of a black and white .png image always result to null?

C:\Users\Mahlu\Desktop\example2\node_modules\get-image-data\shared.js:6 context.drawImage(image, 0, 0) ^ Error: Image given has not completed loading at Error (native) at C:\Users\Mahlu\Desktop\example2\node_modules\get-image-data\shared.js:6:13 at C:\Users\Mahlu\Desktop\example2\node_modules\get-image-data\index.js:17:34 at load (C:\Users\Mahlu\Desktop\example2\node_modules\get-image\server.js:18:5) at FSReqWrap.readFileAfterClose [as oncomplete](fs.js:404:3)