home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / compress / 3034 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.4 KB

  1. Path: sparky!uunet!mcsun!sun4nl!alchemy!accucx!nevries
  2. From: nevries@accucx.cc.ruu.nl (Nico E de Vries)
  3. Newsgroups: comp.compression
  4. Subject: Re: random access with .Z files
  5. Message-ID: <2994@accucx.cc.ruu.nl>
  6. Date: 18 Aug 92 13:40:05 GMT
  7. References: <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp>
  8. Distribution: comp
  9. Organization: Academic Computer Centre Utrecht
  10. Lines: 25
  11.  
  12. In <ROBERT.92Aug18172331@n051.saskg.semicon.sony.co.jp> robert@n051.saskg.semicon.sony.co.jp (Robert Veltman) writes:
  13.  
  14. >Is it possible to read a compressed file (LZW I think in the case of
  15. >UNIX compress) and extract the dictionary information in order to be
  16. >able to do random fseeks in the compressed file and decode from that
  17. >point on?  
  18.  
  19. No.
  20.  
  21. Most compression algorithms build some kind of context ("dictionary")
  22. during decompression. Starting in the middle is than not possible.
  23. Special schemes which DO allow this exist (e.g. Stacker uses one) 
  24. but .Z is not one of them.
  25.  
  26. >Robert Veltman -- SONY Semiconductor Group Atsugi Japan
  27.  
  28.  
  29. Nico E. de Vries
  30. _ _
  31. O O  USENET nevries@cc.ruu.nl  FIDO 2:281/708.1  COMPUSERVE "soon" ???? 
  32.  o   This text reflects MY opinions, not that of my employer BITECH.      
  33. \_/  This text is supplied 'AS IS', no waranties of any kind apply.      
  34.      Don't waste your time on complaining about my hopeless typostyle.
  35.  
  36. "I would admit my mistakes, if I had any ..."  (Bumper Sticker)
  37.