Path: utzoo!attcan!uunet!portal!cup.portal.com!nicky From: nicky@cup.portal.com Newsgroups: comp.sys.mac Subject: Re: Format of a MacPaint file? Message-ID: <7396@cup.portal.com> Date: 16 Jul 88 06:44:55 GMT References: <1631@udccvax1.acs.udel.EDU> Organization: The Portal System (TM) Lines: 9 XPortal-User-Id: 1.1001.4956 The MacPaint file represents a compressed bitmap of an 8X10 inch area at 72 pixels per inch, 576X720 pixels. It consists of a 512 byte header (can be ignored) followed by 720 compressed horizontal scanlines. The Macintosh tookbox routines PackBits and UnpackBits are used to pack and unpack the bits repectively. Given this, you will have to write your own algorithm to unpack the bitmap. Technote #86 talks about MacPaint file format and #171 talks about the PackBIts routine.