Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!mailrus!iuvax!bsu-cs!mithomas From: mithomas@bsu-cs.bsu.edu (Michael Thomas Niehaus) Newsgroups: comp.sys.ibm.pc Subject: Re: Converting MAC to IBMPC format Keywords: graphics Message-ID: <10689@bsu-cs.bsu.edu> Date: 2 Feb 90 17:10:34 GMT References: <484464f0.144c9@byzantine.UUCP> <64JsD1w160w@gendep> Reply-To: mithomas@bsu-cs.UUCP (Michael Thomas Niehaus) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 18 A MacPaint file does basically contain a bit map that corresponds to a complete page (8.5 by 11) at 72 d.p.i. (so you can figure out the full resolution yourself). Most people tend to work in the upper left of this area. There is a difficulty, though. The MacPaint file is encoded using a simple compression algorithm that is built into the Mac operating system. (The routine is called PackBits.) This routine basically uses a repeat packing method that compresses when three or more consecutive equal bytes are encountered. (As to how this is represented, I don't know. It should be easy to figure out, though.) -Michael -- Michael Niehaus UUCP: !{iuvax,pur-ee}!bsu-cs!mithomas Apple Student Rep ARPA: mithomas@bsu-cs.bsu.edu Ball State University AppleLink: ST0374 (from UUCP: st0374@applelink.apple.com)