Display the value of the pixel when the pixel is clicked

I needed a utility to print out the value of the pixel.