changed the pixelformat to show a color image