Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!seismo!vrdxhq!verdix!ogcvax!afoster From: afoster@ogcvax.UUCP Newsgroups: comp.sys.mac Subject: Re: MacDraw/MacPaint file formats Message-ID: <1247@ogcvax.UUCP> Date: Fri, 10-Apr-87 14:31:51 EST Article-I.D.: ogcvax.1247 Posted: Fri Apr 10 14:31:51 1987 Date-Received: Sun, 12-Apr-87 19:58:41 EST References: Reply-To: afoster@ogcvax.UUCP (Allan Foster) Organization: Oregon Graduate Center, Beaverton, OR Lines: 24 Keyword: macpaint In article john@viper.UUCP (John Stanley) writes: > > I'd like to try doing some "tricky-stuff" with a few MacPaint and/or >MacDraw files I have. Unfortunately, I don't know what the file format >is on either one. If you have documentation on either would you please >send it to me...? > > Tanks...! > The format of a macpaint picture is found in the mac technical notes. As a quick summary, it is stored as a packed bitmap of the whole page. To get to it, you have to call Unpackbits for each line. Some sample code for this is also in the tech notes. As for Macdraw, I think that it is stored as a picture with comments to show where the objects are, but I am not sure. Good luck May the force be with you ! Allan Foster afoster@ogcvax.