modified to display coordinate and pixel value (like the VS extension ImageWatch)