Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sgi!daisy!klee From: klee@daisy.UUCP (Ken Lee) Newsgroups: comp.windows.x Subject: Re: X question Message-ID: <2645@daisy.UUCP> Date: 8 Feb 89 18:01:05 GMT References: <8902080204.AA04728@aalps5> Reply-To: klee@daisy.UUCP (Ken Lee) Organization: Daisy Systems Corp., Mountain View, Ca. Lines: 16 In article <8902080204.AA04728@aalps5> jw@SPAM.ISTC.SRI.COM (Julie Wong) writes: >I declared an XImage structure of size 16x16. Set the image data >pointer to an array of bits. Then used the XPutImage command to put up >the image. So far I have not been getting anything. There are problems with XPutImage. I've had trouble drawing small (less than 64x64) images on some windows (mainly the root window). The same programs with larger images and created windows work fine, though. Using pixmaps, with XCopyPlane, seems more reliable for small bitmaps. Good luck. Ken Lee -- klee@daisy.uucp Daisy Systems Corp., Interactive Graphics Tools Dept.