Fabio Biscaro wrote:

3) Support deflate compressed streams in addtion to gzip.

What does this mean?

Deflate is a general data compression system. It is used most notably for 'zip' archives and the 'gzip' application. There is also something called 'zlib' compression format (often referred to a deflate) which is very similar to gzip except the header is smaller and the CRC is different (and perhaps better).

http://www.faqs.org/rfcs/rfc1950.html

   GZip is really oriented around taking a file compressing
and wrapping it up so it can be sent to another system (or
archived) with the real intent being to uncompress the file
to disk before working with it.  To this end the gzip header has
support for stuff like uncompressed file name, file permissions,
modification time etc... zlib compression has none of this.

   It is perhaps a better choice for SVGZ as the intent with
SVGZ is that the compressed file _is_ the file in most use cases.
I don't think the SVG specification relies on the HTTP 1.1
specification for what the compressed form is which apparently
is ambiguous as to which should be used (from zlib home page).

You can load zipped svg?

We have always be able to read gzip compressed files, this just enables us to support 'zlib' compressed streams as well. We have also always been able to essentially support 'zip' archives (with relative links between files in the archive) through the JDK's support of 'jar' files (which are a zip archive with a little bit of extra data).

-----Messaggio originale-----
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Inviato: giovedì 18 dicembre 2003 2.37
A: [EMAIL PROTECTED]
Oggetto: cvs commit: xml-batik/sources/org/apache/batik/util
ParsedURLData.java



deweese 2003/12/17 17:36:39


Modified: samples/tests/spec/color colorProfile.svg
sources/org/apache/batik/css/parser Parser.java
sources/org/apache/batik/ext/awt/image/spi
JPEGRegistryEntry.java
sources/org/apache/batik/util ParsedURLData.java
Log:
3) Support deflate compressed streams in addtion to gzip.
PR: 25251



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to