Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!rex!wuarchive!decwrl!shelby!daemon From: combs@sumex-aim.stanford.edu (Dave Combs) Newsgroups: comp.sys.next Subject: Bitmaps from views Message-ID: <865@shelby.Stanford.EDU> Date: 22 Nov 89 01:36:58 GMT Sender: daemon@shelby.Stanford.EDU Lines: 14 Gang, I'm trying to speed up an interactive application by taking various View- subclass objects and converting them to Bitmaps, which I can then composite onto a window as I wish. Can someone explain to me how this is done? I've tried using "copyPSCodeInside:to:" to put the View data onto a stream (which is in EPS format, and works fine). I've then tried to use the Bitmap function "newFromStream:" to read the data into a bitmap. However, this always chokes (quietly) on the second byte read in, and gives me nothing. Anybody have any idea what I'm doing wrong? Is the Bitmap expecting bitmap-type data from the stream, or is Postscript code okay? I looked all through the manual, and couldn't find anything. Thanks, Dave (combs@sumex-aim.stanford.edu)