Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!uwm.edu!bionet!ames!ncar!bierstadt!hpoppe From: hpoppe@bierstadt.ucar.edu (Herb Poppe) Newsgroups: comp.sys.mac Subject: Re: Color PICTs Message-ID: <5892@ncar.ucar.edu> Date: 5 Jan 90 00:12:10 GMT References: <126900138@p.cs.uiuc.edu> Sender: news@ncar.ucar.edu Reply-To: hpoppe@bierstadt.UCAR.EDU (Herb Poppe) Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 36 In article <126900138@p.cs.uiuc.edu> gillies@p.cs.uiuc.edu writes: > >I have been trying to transfer a small color picture (from MacDraw >II), but every time I paste it into the clipboard, the color >information is lost. > >My real goal is to store a color PICT in the resource file of an >application. I've also tried "Save as PICT" in MacDraw II, but it is >stored in the file's data fork, not as a PICT resource. > >Is this a MacDraw II bug (it won't let color escape from the >application as a PICT)? Or is there some problem with color on the >clipboard? > If I recall correctly, the latest version or MacDraw II allows you to copy to the Clipboard in color or B/W. (There is some kind of option/preference where you specify your choice.) Previous versions only copied B/W. There is another potential problem you may encounter in trying to paste the picture as a PICT resource into a file. I had this problem with my version of MacDraw II (which at 1.0v4 is not the latest) and ResEdit 1.2b3. I discovered that MacDraw II copies two versions of the picture to the Clipboard. One, the first, is its own format (type MDPL), the second is in PICT format. (To see this effect, paste a MacDraw II picture from the Clipboard to the Scrapbook -- the Scrapbook will list the types). When I went to paste the MacDraw II picture with ResEdit into the resource fork of an application I was developing, ResEdit only pasted the first version, which was the MacDraw II format and not PICT. I had to give up using MacDraw II for this purpose and revert to MacDraw 1.9.5, which only copies the PICT format to the Clipboard. (This was "ok" because I wasn't working with a color picture.) Herb Poppe NCAR INTERNET: hpoppe@ncar.ucar.edu (303) 497-1296 P.O. Box 3000 CSNET: hpoppe@ncar.CSNET Boulder, CO 80307 UUCP: hpoppe@ncar.UUCP