Submitted by Anonymous on Tue, 10/08/2002 - 19:04. Developers
I am trying to produce an image, by defining a custom colormap, and then using an array to draw an image. The array is a 2-d array of integers, and the integers represent an RGB value. I think there should a way to send the entire array at once to some function, and then display. Sample could that I am looking at does a XputPixel, on a pixel by pixel basis, way to slow for my app. Any ideas?
Fri, 07/20/2012 - 14:59
#1
ColorMaps and Image
You can manipulate the XImage data directly and then use XPutImage() to start to render it.
What are the steps to create the colormap, create the GC and Display?