Reads the pixels of an image as an ndarray. Node-only, deps-updated fork of https://github.com/scijs/get-pixels