Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!endor!stew From: stew@endor.harvard.edu (Stew Rubenstein) Newsgroups: comp.sys.mac Subject: Re: Resource Creation Message-ID: <2886@husc6.UUCP> Date: Sat, 26-Sep-87 20:23:31 EDT Article-I.D.: husc6.2886 Posted: Sat Sep 26 20:23:31 1987 Date-Received: Sun, 27-Sep-87 11:36:57 EDT References: <127200006@inmet> Sender: news@husc6.UUCP Reply-To: stew@endor.UUCP (Stew Rubenstein) Organization: Aiken Computation Lab Harvard, Cambridge, MA Lines: 29 In article <127200006@inmet> lipsett@inmet.UUCP writes: > >Two resource questions: > >1. How can one use ResEdit to create a resource of a given type *with >a particular resource ID*? It really seems to want to give it its own >random ID. Let it get a random ID, and then change the ID to what you want with the Get Info command. >2. How can one create a PICT resource (graphically would be nice; if >not, how does the internal format of a PICT resource differ from what >one might write into a file from an application that uses the >QuickDraw picture routines to create same)? The easiest way to get PICTs is to create them with whatever program you want: SuperPaint, MacDraw, whatever; copy them to the clipboard, and paste them into the scrapbook. Then you can open up the ScrapBook in ResEdit, and copy the PICTs out and into whatever you want. The PICT file format is documented in Tech Note 27. In a nutshell, it's a 512 byte header (which may be written as all zeroes) followed by a normal QuickDraw PICT. Stew Rubenstein Cambridge Scientific Computing, Inc. UUCPnet: seismo!harvard!rubenstein CompuServe: 76525,421 Internet: rubenstein@harvard.harvard.edu MCIMail: CSC