Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site uva.UUCP Path: utzoo!linus!decvax!mcvax!uva!dolf From: dolf@uva.UUCP (Dolf Starreveld) Newsgroups: net.micro.apple Subject: Format of MacPaint documents Message-ID: <129@uva.UUCP> Date: Mon, 9-Jul-84 07:21:37 EDT Article-I.D.: uva.129 Posted: Mon Jul 9 07:21:37 1984 Date-Received: Tue, 10-Jul-84 07:46:28 EDT Organization: Comp. Science Dept., University of Amsterdam Lines: 25 This is what I now of the format of MacPaint: MacPaint documents use only the data fork of a file, the resource fork may be ignored. The data fork contains a 512 byte header and then compressed data, representing a single bitmap of 576 pixels by 720 pixels. HEADER: 4 bytes Version number (default = 2) 38 * 8 bytes 304 bytes of patterns 204 bytes reserved for future use Version number 0 means that the complete header will be ignored and standard patterns will be used. BITMAP (following the header): 720 scanlines of compressed data. This is 720 times the output of the Packbits routine. Dolf Starreveld, University of Amsterdam { ... mcvax!uva!dolf }