Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!think!zaphod.mps.ohio-state.edu!mips!prls!pyramid!bjb From: bjb@pyrshadow.pyramid.com (Bruce Beare) Newsgroups: comp.sys.mac.programmer Subject: PackBits routine Message-ID: <96197@pyramid.pyramid.com> Date: 27 Dec 89 18:46:58 GMT Sender: daemon@pyramid.pyramid.com Distribution: na Organization: Pyramid Technology Corporation Lines: 11 I'm modifying the xloadimage program (comp.sources.x) to be able to directly display macpaint images on the X terminal. The macpaint format seems to be straight forward. It does, however, call the 'PackBits' function. Packbits seems to do some sort of a run-length encoding, but I don't believe that it is completely specified in IM. I've found no TNs that describe exactly what it does. Has anyone come across this little bit of trivia? -Bruce Beare bjb@pyrshadow.pyramid.com