Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bloom-beacon!SABER.COM!jimf From: jimf@SABER.COM Newsgroups: comp.windows.x Subject: Re: How to copy from depth 1 to depth n Message-ID: <9007252200.AA25661@lance> Date: 25 Jul 90 22:00:34 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 14 |I'm a little stuck. I can create a pixmap from a bitmap file |with XReadBitmapData. Great. Now what do I do to create |a pixmap with the same depth as my display but with the same |bitmap data? What I don't want to do (and the only alternative I |see) is to do a XGetImage and XGetPixel along with a separate |XCreatePixmap (right depth). Will someone please tell me |I'm wrong (but be right about it OK? :) . XCopyPlane will work fine and you can even recolor the foreground and background while you're at it. jim frost saber software jimf@saber.com