This PR removes bmp-js and relies purely on node-canvas for image decoding.
As discussed in https://github.com/obartra/ssim/issues/319, bmp-js decodes images as ABGR, but we need RGBA.
Note: a small change to the CI setup was needed to get node-canvas installed/running on a (relatively) modern version of node.
This PR removes bmp-js and relies purely on node-canvas for image decoding. As discussed in https://github.com/obartra/ssim/issues/319, bmp-js decodes images as ABGR, but we need RGBA.
Note: a small change to the CI setup was needed to get node-canvas installed/running on a (relatively) modern version of node.
Closes https://github.com/obartra/ssim/issues/319