Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!ginosko!usc!rutgers!galaxy.rutgers.edu!andromeda.rutgers.edu!dave From: dave@andromeda.rutgers.edu.rutgers.edu (Dave Bloom) Newsgroups: comp.windows.x,ru.qa.x Subject: Pixmap <-> Bitmap File? Message-ID: Date: 6 Sep 89 17:33:00 GMT Sender: news@galaxy.rutgers.edu Reply-To: dave@andromeda (Dave Bloom) Organization: Rutgers University, Newark, NJ Lines: 21 Here's a quick little question: I have bitmap data residing in a file that I want to access at run-time. I want to convert this data to a Pixmap of arbitrary depth. How do? If I use XReadBitmapFile(), I get a pixmap of depth one, but how do I convert this to a pixmap of depth >1? I can't use the resulting pixmap in a call to XCreatePixmapFromBitmapData()... so am I missing something? I DON'T want to have to parse the bitmap file on my own. Any suggestions, insights would be appreciated. I'm strictly using Xlib, so no toolkit suggestion please. Please respond by email and I will summarize if there's an interest. Thanx. _______________________________________________________________________________ rutgers\ | Dave Bloom galaxy >!andromeda!dave -or- dave@andromeda.rutgers.edu | Work: (201)648-5085 pyramid/ |