home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.compression
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!csd4.csd.uwm.edu!markh
- From: markh@csd4.csd.uwm.edu (Hunk)
- Subject: Re: random access with .Z files
- Message-ID: <1992Aug22.050858.10632@uwm.edu>
- Sender: news@uwm.edu (USENET News System)
- Organization: Computing Services Division, University of Wisconsin - Milwaukee
- References: <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp>
- Distribution: comp
- Date: Sat, 22 Aug 1992 05:08:58 GMT
- Lines: 13
-
- In article <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp> robert@n051.saskg.semicon.sony.co.jp (Robert Veltman) writes:
- >
- >Is it possible to read a compressed file (LZW I think in the case of
- >UNIX compress) and extract the dictionary information in order to be
- >able to do random fseeks in the compressed file and decode from that
- >point on?
-
- The compressed file is the dictionary. It's not stored seperately, it's
- the whole thing!
-
- However, I can think of a way that gets you close to random access. Compress
- blocks at a time, reinitializing the compression between blocks, and store
- pointers to the compressed blocks in the file header.
-