compress(), zlib and FlateDecode filter in PDF stream
Dar Scott
dsc at swcp.com
Sun Apr 17 16:37:23 EDT 2005
On Apr 17, 2005, at 10:20 AM, jbv wrote:
> Has anybody succeeded in using the compress() function
> on PDF data stream using the FlateDecode filter ?
> According to both docs (PDF ref and Rev), both compress()
> and FlateDecode are built around the public domain zlib
> library, but I didn't manage to include compressed data
> in a pdf file, nor to decompress any pdf data stream in
> Rev...
The Revolution compress() creates gzip which has a wrapper around the
zlib format. You can dig into the binary and do primitive zlib
compression. And decompression IF you know the length of the result.
Maybe, someday I'll make a library available.
Dar
--
**********************************************
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**********************************************
More information about the use-livecode
mailing list