[comp.windows.x] XBitmap and XImage

zuhn@umn-cs.CS.UMN.EDU (david d [zoo] zuhn) (07/21/89)

I'm trying to write a piece of software using the HP widgets (the version
that comes with the HP-UX 6.5 dist) that will read an image from a file
and display it.  The problem is that the only type of display widgets that
is available (straight, I'm not up to rolling my own yet) takes an XIMage
instead of an XBitmap.  How can I convert from a bitmap to an XImage?


Dave Zuhn
zuhn@umn-cs.cs.umn.edu