New Forum | Previous | Next | (P-PDF) Developers
Topic: Compatibility of Gzip from RunRev with Flate compression
Conf: (P-PDF) Developers, Msg: 117319
Date: 8/15/2004 08:17 AM
Dear PDF professionals:
I've been implementing (for personal use)
export to pdf of vector graphics in the
programming development environment
You could see an earlier example here:
To run the file *.mc you will need to download
the RunRev development environment, but you could
see the source code in any text editor.
Now, in version 02, i've implemented ascii85 and
asciihex encode in preparation to export images,
but i've stumble to the gzip/flate encoding implementation.
RunRev have an internal function named compress()
that compress a string (binary or text) as a gzip
compressed string. Until now, Adobe Reader
does not identify the gziped string as a flate encoded
The function does not offers parameters to change
the type of compression. I have put a file in my
site, in this way you could tell me for sure if it is
possible to get a flate encoded string from this gzip
compressed string, by stripping or adding chars
to the binary data.
This file includes the ascii text and the same text compressed
from RunRev using the compress() function.
Thanks in advance.