Path: utzoo!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!crdgw1!galen!leue From: leue@galen.crd.ge.com (Bill Leue) Newsgroups: comp.sys.mac.hypercard Subject: Re: Color Picts in HC2.0 Message-ID: <17533@crdgw1.crd.ge.com> Date: 12 Mar 91 21:54:16 GMT References: <668797214.1@blkcat.Fidonet.Org> Sender: news@crdgw1.crd.ge.com Organization: General Electric Research & Development Lines: 28 In article <668797214.1@blkcat.Fidonet.Org> Peter.Cook@f421.n109.z1.Fidonet.Org (Peter Cook) writes: >>Can anyone tell me if there is a way to bring an object-oriented color >>graphic, created in MacDraw II, into HyperCard 2.0? If necessary, I > >Thanks for your help. That's _almost_ what we want to do. Can the >Picture command display an existing PICT graphic that was created in >MacDraw II without having to copy it to the clipboard? > > * Origin: Twilight Clone: Macintosh - 301-946-8677 - 10 lines (1:109/421) I wrote a short stack to do exactly the thing you`re trying to do; namely, display MacDraw II images saved in PICT II (color) format. In my application, I was not trying to write a "browser" that could open any old PICT file -- I only wanted to display one from a limited, fixed collection of images. To build this small image library, I used the Clipboard in MacDraw II to import the PICT's into ResEdit 2.1, in which I converted the PICT's into standard PICT resource form, and then used Steve Maller's ResCopier Stack to import them into my stack. I then used the Picture command with the 'resource' argument to fetch the images directly from the resource fork of the stack and display them. You can also use the Picture command with a filename argument, I believe. See the "Hypertalk 2.0: The Book" or the Claris Hypertalk reference manual for more details. There are a lot of interesting options to use with the Picture command. -Bill Leue leue@crd.ge.com