node-libpng
node-libpng copied to clipboard
Some pngs will cause unexpected exit
Reading some files based on docker alpine will cause unexpected exit.
The attached icon is a test png.
test.js
const libpng = require('node-libpng');
let result = libpng.readPngFileSync('./icon.png');
console.log(result);

Are some PNGs working? Or is it failing with all?
Some PNGs failed. Not all are invalid.
After confirming the test, when the "Interlace" option is checked, it will cause unexpected errors.