dolf@uva.UUCP (Dolf Starreveld) (07/09/84)
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 }