improved checking if given image is a canvas
fixed typo in readme