home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / graphics / 13384 < prev    next >
Encoding:
Text File  |  1993-01-05  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.graphics
  2. 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
  3. From: morley@suncad.camosun.bc.ca (Mark Morley)
  4. Subject: RLE Code Available
  5. Message-ID: <1993Jan4.200621.709@spang.Camosun.BC.CA>
  6. Sender: news@spang.Camosun.BC.CA (Network News)
  7. Nntp-Posting-Host: suncad.camosun.bc.ca
  8. Organization: Camosun College, Victoria B.C, Canada
  9. X-Newsreader: Tin 1.1 PL4
  10. Date: Mon, 4 Jan 1993 20:06:21 GMT
  11. Lines: 22
  12.  
  13.  
  14. For those few people who were interested in my run length
  15. compression/decompression C routines, I have uploaded them to
  16. wuarchive.wustl.edu in the /pub/MSDOS_UPLOADS/misc directory.  The file
  17. name is rle.c  These routines are simple, but they work for my purposes. 
  18. If anyone else can use them that's great.  They can be used for anything
  19. you want (not just graphics).  By the way, I have no idea if my RLE
  20. methods are compatible with others (eg: PCX, etc).
  21.  
  22. Cheers,
  23. MARK
  24.  
  25. PS: These routines are not tied to DOS or any other platform.  Most C
  26.     compilers should be able to compile the routines.  Also, these routines
  27.     are hard-coded to count "bytes" of 8 bits in length, but changing it to
  28.     support other bit lengths should be fairly simple.
  29.  
  30. ====================================================================
  31.  Mark Morley, UNIX/SUN Administrator     NET: morley@camosun.bc.ca
  32.  Camosun College - Interurban Campus     TEL: (604) 370-4601
  33.  4461 Interurban Road  Room 143-Tech     FAX: (604) 370-3660
  34.  Victoria,   B.C.  Canada    V8X 3X1
  35.