Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!yale!engelson-sean From: engelson-sean@CS.YALE.EDU (Sean Philip Engelson) Newsgroups: comp.windows.x Subject: Gray-scale picture in a window Message-ID: <68719@yale-celray.yale.UUCP> Date: 4 Aug 89 19:48:04 GMT Sender: root@yale.UUCP Organization: Yale University, New Haven, CT Lines: 19 Please excuse this cry for help... Does anyone have some simple code to display a gray-scale picture (array of grey-scale values) in a window? That is, it sets up the colormap and all that other stuff. I'm having a devil of a time trying to figure it out from the Xlib/Xt docs. Something that works with/in Xt would be best. Thanks much, ---------------------------------------------------------------------- Sean Philip Engelson, Poet Errant Make your learning a fixture; Yale Department of Computer Science Say little and do much; Box 2158 Yale Station And receive everyone with New Haven, CT 06520 a kindly attitude. ---------------------------------------------------------------------- Artificial Intelligence: The science of making computers that behave like the ones in the movies.