Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!SABER.COM!jimf From: jimf@SABER.COM Newsgroups: comp.windows.x Subject: Re: picture display under X Message-ID: <9008291521.AA14077@armory> Date: 29 Aug 90 15:21:52 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 15 > I am using OpenWindows(X11) on a SparcStation 1+ and I'd like to > display a 512x512 picture with 8-bit pixel values, but I can't find > any X function which will do the trick. Code to do this from an arbitrary-depth image to an arbitrary-depth display (except TrueColor and DirectColor visuals) can be had from send.c in xloadimage 1.06, available by anonymous ftp from expo.lcs.mit.edu in /contrib/xloadimage.1.06.tar.Z. This code works fine under OpenWindows. Happy hacking, jim frost saber software jimf@saber.com