There are some missing updates in a package pngjs in file i.e _/node_modules/node-resemble-js/node_modules/pngjs/lib/bitmapper.js file_ and function mapImage8Bit
There are missing line of code in the previous version of package i.e
var idx = pixelBppMap[bpp][i];
if (idx === 0xff) {
pxData[pxPos + i] = 0xff;
} else {
var dataPos = idx + rawPos;
if (dataPos === data.length) {
throw new Error('Ran out of data');
}
pxData[pxPos + i] = data[dataPos];
}
So we need to update the version of this package to resolved the issue in their previous releases.
So, I have updated the package pngjs in your package.json of node-resemble.js.Please update to resolve future issues.
Hi
Thanks for the awesome package to compare image.
There are some missing updates in a package pngjs in file i.e _
/node_modules/node-resemble-js/node_modules/pngjs/lib/bitmapper.js file
_ and function mapImage8BitThere are missing line of code in the previous version of package i.e
So we need to update the version of this package to resolved the issue in their previous releases.
So, I have updated the package pngjs in your package.json of node-resemble.js.Please update to resolve future issues.
Thanks
Regards afzydev