add a callback function, catch `getImageData()` errors
README++