Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!winnie!ee.fit.edu!sam From: (Shyam Kotha ) Newsgroups: comp.windows.x Subject: Help requested on Image manipulation Message-ID: <1520@winnie.fit.edu> Date: 26 Oct 90 15:24:46 GMT Sender: usenet@winnie.fit.edu Reply-To: sam@ee.fit.edu (Shyam Kotha ) Organization: Florida Institute of Technology, ACS, Melbourne, FL Lines: 16 Dear Xperts, I had recently started working on X Windows (Open Look). I was trying the Image functions, the problem is I am able to paint the window at the initializa- tion through canvas_repaint procedure, but when I try to put the image in the window from another routine which I can invoke through a button I get core dump. In the program that paints the window, what I was doing was create an image load the data field with data and use the XPutImage. It works when I do this in canvas_repaint procedure, but not any where else. I tried to Initialize the window through the canvas_repaint and change the image through XCopyArea and got a core dump. I am kinda confused here. Can some one please tell me what I am doing wrong? Thanks in advance. Sam sam@ee.fit.edu