Zlib inflation
Andreas Raab
andreas.raab at gmx.de
Thu Mar 8 19:03:07 UTC 2007
Use ZLibReadStream not InflateStream. InflateStream only implements the
algorithm (LZ) not the actual file format (ZLib, GZ, Zip, etc).
Cheers,
- Andreas
Brian Murphy-Dye wrote:
> I'm attempting to inflate a zlib compressed file. Performing:
>
> (InflateStream on: ((FileDirectory default fileNamed: 'filename')
> binary)) upToEnd
>
> raises a bad block length error. John McIntosh's tiff support package in
> squeakmap contains zlib support, but it reports 'no installer found for
> package' (I'm using squeak 3.9.)
>
> Any recommendations for decompressing zlib files inside squeak?
>
> Thanks, Brian.
>
>
More information about the Squeak-dev
mailing list
|