Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 5/3/83; site ukc.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!ihnp4!zehntel!dual!amd!pesnta!hplabs!hao!seismo!mcvax!ukc!msp
From: msp@ukc.UUCP (M.S.Parsons)
Newsgroups: net.graphics
Subject: Request for info on RUN-LENGTH CODE technique
Message-ID: <4681@ukc.UUCP>
Date: Mon, 26-Nov-84 08:41:27 EST
Article-I.D.: ukc.4681
Posted: Mon Nov 26 08:41:27 1984
Date-Received: Thu, 29-Nov-84 04:09:22 EST
Organization: Computing Laboratory, U of Kent at Canterbury, UK
Lines: 20


.... .  .    .        .                .                          .

I would be very interested in hearing from people who use the run-length code
technique for compressing images. In particular, what external (disk) format 
do you use? 
At the moment, we are using images of 256 by 256 with 256 colours, so each run
nicely fits into 2 bytes:
      -----------------------
      | colour | length - 1 |
      -----------------------
But what do you do with bigger images? I guess you could just use two of the
above runs, or you could use two bytes for length, one for colour e.t.c.
How do you do it? (Is there an agreed standard on this?)
Any info appreciated,
   Mike.
------------------------------------------------------------------------------
Mike Parsons  UUCP:  ..{cfg,edcaad,mcvax,kcl-cs}!ukc!msp     msp@ukc.UUCP
              Mail:  Computing Laboratory, University of Kent, Canterbury,
                     Kent, England CT2 7NF