home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!news.UVic.CA!spang.Camosun.BC.CA!suncad.camosun.bc.ca!morley
- From: morley@suncad.camosun.bc.ca (Mark Morley)
- Subject: RLE Code Available
- Message-ID: <1993Jan4.200621.709@spang.Camosun.BC.CA>
- Sender: news@spang.Camosun.BC.CA (Network News)
- Nntp-Posting-Host: suncad.camosun.bc.ca
- Organization: Camosun College, Victoria B.C, Canada
- X-Newsreader: Tin 1.1 PL4
- Date: Mon, 4 Jan 1993 20:06:21 GMT
- Lines: 22
-
-
- For those few people who were interested in my run length
- compression/decompression C routines, I have uploaded them to
- wuarchive.wustl.edu in the /pub/MSDOS_UPLOADS/misc directory. The file
- name is rle.c These routines are simple, but they work for my purposes.
- If anyone else can use them that's great. They can be used for anything
- you want (not just graphics). By the way, I have no idea if my RLE
- methods are compatible with others (eg: PCX, etc).
-
- Cheers,
- MARK
-
- PS: These routines are not tied to DOS or any other platform. Most C
- compilers should be able to compile the routines. Also, these routines
- are hard-coded to count "bytes" of 8 bits in length, but changing it to
- support other bit lengths should be fairly simple.
-
- ====================================================================
- Mark Morley, UNIX/SUN Administrator NET: morley@camosun.bc.ca
- Camosun College - Interurban Campus TEL: (604) 370-4601
- 4461 Interurban Road Room 143-Tech FAX: (604) 370-3660
- Victoria, B.C. Canada V8X 3X1
-