Drawing RGB data
Matthias Scheler <[email protected]>
| Newsgroups | gmane.comp.xfree86.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm searching for a piece of example code for displaying a two dimensional array of 32 bit words with RGB color values in a X11 window. I guess I need to use XCreateImage(..., ZPixmap, ...) followed by XPutImage(). But I'm couldn't find an example for using XCreateImage() for that purpose. Kind regards -- Matthias Scheler http://scheler.de/~matthias/