Reading pixel values from grayscale and test renderer