bitmap as a raster pic

How can I display a 24 bit rgba bitmap (using alpha channel) on the screen using raster coordinates?
I already got a code like that:

GLubyte A[1][13] = { {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xc3, 0xc3, 0xc3, 0x66, 0x3c, 0x18}};

glPixelStorei(GL_UNPACK_ALIGNMENT, 1);

glRasterPos2i(x_pos, y_pos);
glColor3f(1, 1, 1);
glBitmap(8, 13, 0.0, 0.0, 0.0, 0.0, A[0]);

but I’m not sure how to use a 24 bit bitmap instead of a b/w bitmap…
Can anyone help me?

A bitmap is a rectangular array of 0’s and 1’s. OpenGL doesn’t support pixmaps. Either look at texturing or copying image data directly into the frame buffer.

Didn’t mention this, but, for copying pixels to frame buffer use glRasterPos*() to set location for glDrawPixels().