home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.cbm
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!icaen.uiowa.edu!cdminter
- From: cdminter@icaen.uiowa.edu (Corey D Minter)
- Subject: compression format questions, and an idea
- Summary: what are compression formats for...
- Sender: news@news.uiowa.edu (News)
- Message-ID: <cdminter.716601761@icaen.uiowa.edu>
- Date: Wed, 16 Sep 1992 00:02:41 GMT
- Nntp-Posting-Host: cie1.icaen.uiowa.edu
- Organization: University of Iowa, Iowa City, IA, USA
- Keywords: compression
- Lines: 30
-
- 1) Where can i find the format for various cbm compressors
- (.arc, jj, gg, etc.)?
-
- 2) Recently i was reading up on some methods of compression when i
- thought up the following idea. It has the advantage i think
- that it would be fast to decompress (though slow to compress),
- and it doesn't consume any memory with tables in either compression
- or decompression. So i am asking for your comment/flame/opinion
- on this. I'm not trying to propose some new standard (who wants
- one).
-
- 1) store data as is until an ESCAPE character is read
- 2) 2 ESCAPES signals that an ESCAPE should really be stored
- 3) otherwise the ESCAPE is followed by:
- a) byte packed with NUMBER_OF_REPETITIONS and
- NUMBER_OF_BYTES - 4 (possibly nibblewise)
- b) word with address of data to be used (could be a
- relative or absolute address
-
- I think this has some real advantages in that any patterns can be
- captured and used to compress the file. This is kind of like geoPaint
- compression, but allows patterns to be repeated even when they aren't
- adjacent. I don't know if this is already done somewhere (look at
- question 1) and truth is maybe it wouldn't have much payoff?
-
- BTW. I haven't coded this.
- ======================================================================
- cdminter@icaen.uiowa.edu :Internet | "No sir, I don't like it!"
- EarthsWake (aka Chaos0) :Qlink | -mule on Ren&Stimpy
- ======================================================================
-