Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!ucla-cs!maui.cs.ucla.edu!gungner From: gungner@maui.cs.ucla.edu (David Gungner) Newsgroups: comp.sys.mac.programmer Subject: Color Quickdraw, Direct Pixel Images, and Runlength encoding Message-ID: <1991May21.131629.16961@cs.ucla.edu> Date: 21 May 91 13:16:29 GMT Sender: usenet@cs.ucla.edu (Mr. News Himself) Distribution: na Organization: UCLA Computer Science Department Lines: 15 Originator: gungner@maui.cs.ucla.edu Nntp-Posting-Host: maui.cs.ucla.edu 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 UCLA Computer Science Department