parse a xml data & render it as a simple grayscale image