Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: dave@boingo.med.jhu.edu (David Heath) Newsgroups: comp.sys.sun Subject: Sun rasterfile run-length encoding Keywords: Windows Message-ID: <777@brchh104.bnr.ca> Date: 11 Dec 90 20:48:31 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 12 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 402, message 3 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I'm writing a sun rasterfile reader. It works fine on 1, 8, and 24 bit images in RT_OLD and RT_STANDARD formats. I would like to get it working for the RT_BYTE_ENCODED format. I understand the general principle behind run-length encoding, so could probably figure out sun's format eventually, but has anyone already decoded their format? I have checked out /usr/include/rasterfile.h and rasterfile(5), but neither answers this question. Thanks! -dave heath dave@boingo.med.jhu.edu