[comp.sys.mac.programmer] Color Quickdraw, Direct Pixel Images, and Runlength encoding

gungner@maui.cs.ucla.edu (David Gungner) (05/21/91)

I have a 24-bit data image that was saved as a color quickdraw direct
pixel image (using DirectBitsRect opcode = $009A).  The packing type of
the image is 4, i.e. the image data is run length encoded.

I want to directly read the image data from the PICT file.
Unfortunately, I'm having trouble writing a program that successfully
reverses the run length encoding scheme.  Is there any information
available on the exact run length encoding algorithm used for 24-bit
image data?

Thanks in advance,
David Gungner

________________________________________________________________________
David Gungner <gungner@cs.ucla.edu>     UCLA Computer Science Department