Path: utzoo!attcan!uunet!know!zaphod.mps.ohio-state.edu!wuarchive!ukma!uflorida!winnie!zach.fit.edu!rcs64241 From: rcs64241@zach.fit.edu (Shyam Kotha /ADVISOR-Newman) Newsgroups: comp.windows.x Subject: Can some one help me with Image package Message-ID: <1481@winnie.fit.edu> Date: 20 Oct 90 03:52:46 GMT Sender: usenet@winnie.fit.edu Reply-To: rcs64241@zach.fit.edu (Shyam Kotha /ADVISOR-Newman) Followup-To: sam@ee.fit.edu Organization: Florida Institute of Technology, ACS, Melbourne, FL Lines: 21 Hi, I had strted on X windows(Open Look 2.0) recently and I am working on Image package and not sure how to do the following, can some one help me on this. I want to acess pixel information of an image and manipulate them for writing Image processing routines. I dont want to use XPutpixel etc as that slows down the whole thing, is there any way I can assign a arry containing the pixel values to the data of the image. what I am looking for is something like assigning memory pixrect in Sunview. (i.e) equivalent for mpr_d(mem)->md_image =(short *) buf; where buf is an array containing the pixel values and mem is a memory pixrect. Thank you. Sincerely Shyam Kotha Email : sam@yacht.ee.fit.edu