I have a color image (width w, height h) stored in an array A of type unsigned char (size of A is w*h*3; each pixel (x,y) in the image has associated with it the r, g, and b values of the pixel) so A[0] has the red value of pixel (0,0) and A[2] has the blue value of pixel (0,0), A[3] has red value of pixel (1,0) etc. How can I display this image using Tk? Thanx.
sid
sid