Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!wuarchive!cs.utexas.edu!uunet!zephyr.ens.tek.com!wrgate!teklds!tims From: tims@teklds.WR.TEK.COM (Tim Stoehr) Newsgroups: comp.windows.x Subject: How to read a bitmap file into a pixmap? Message-ID: <1128@wrgate.WR.TEK.COM> Date: 19 Dec 89 00:49:03 GMT Sender: nobody@wrgate.WR.TEK.COM Distribution: usa Lines: 7 I have files created from XWriteBitmapFile(). What's the best way to read them in and convert to a mult-plane pixmap suitable for XCopyArea() to a window? Using XReadBitmapFile() will get me a bitmap, but I need a pixmap with depth. Is there some operation that can be performed on the bitmap to yield a pixmap with depth?