Lines Matching full:zlib
2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 http://zlib.net/ which may have more recent information.
7 The lastest zlib FAQ is at http://zlib.net/zlib_faq.html
10 1. Is zlib Y2K-compliant?
12 Yes. zlib doesn't handle dates.
16 The zlib sources can be compiled without change to produce a DLL. See the
17 file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the
18 precompiled DLL are found in the zlib web site at http://zlib.net/ .
20 3. Where can I get a Visual Basic interface to zlib?
23 * http://marknelson.us/1997/01/01/zlib-engine/
24 * win32/DLL_FAQ.txt in the zlib distribution
42 strm.avail_out returns with zero. See http://zlib.net/zlib_how.html for a
45 6. Where's the zlib documentation (man pages, etc.)?
47 It's in zlib.h . Examples of zlib usage are in the files test/example.c
52 Because we would like to keep zlib as a very small and simple package.
53 zlib is rather portable and doesn't need much configuration.
55 8. I found a bug in zlib.
57 Most of the time, such problems are due to an incorrect usage of zlib.
59 corresponding source to us at zlib@gzip.org . Do not send multi-megabyte
71 10. I need a Delphi interface to zlib.
73 See the contrib/delphi directory in the zlib distribution.
75 11. Can zlib handle .zip archives?
77 Not by itself, no. See the directory contrib/minizip in the zlib
80 12. Can zlib handle .Z files?
93 14. How do I install a shared zlib library on Unix?
99 However, many flavors of Unix come with a shared zlib already installed.
100 Before going to the trouble of compiling a shared version of zlib and
102 can #include <zlib.h>, it's there. The -lz option will probably link to
103 it. You can check the version at the top of zlib.h or with the
104 ZLIB_VERSION symbol defined in zlib.h .
111 16. Can zlib decode Flate data in an Adobe PDF file?
118 After installing zlib 1.1.4 on Solaris 2.6, running applications using zlib
124 The symbol __register_frame_info is not part of zlib, it is generated by
125 the C compiler (cc or gcc). You must recompile applications using zlib
127 http://www.sunfreeware.com for Solaris versions of zlib and applications
128 using zlib.
132 The compress and deflate functions produce data in the zlib format, which
134 zlib on the other hand use the gzip format. Both the zlib and gzip formats
141 single file, such as the name and last modification date. The zlib format
148 You can request that deflate write the gzip format instead of the zlib
150 gzip format using inflateInit2(). Read zlib.h for more details.
152 21. Is zlib thread-safe?
154 Yes. However any library routines that zlib uses and any application-
155 provided memory allocation routines must also be thread-safe. zlib's gz*
156 functions use stdio library routines, and most of zlib's functions use the
157 library memory allocation routines by default. zlib's *Init* functions
160 Of course, you should only operate on any given zlib or gzip stream from a
163 22. Can I use zlib in my commercial application?
165 Yes. Please read the license in zlib.h.
167 23. Is zlib under the GNU license?
169 No. Please read the license in zlib.h.
174 You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In
177 x.x.x.f are reserved for modifications to zlib by others than the zlib
178 maintainers. For example, if the version of the base zlib you are altering
179 is "1.2.3.4", then in zlib.h you should change ZLIB_VERNUM to 0x123f, and
184 nature of the changes in zlib.h, as well as in ChangeLog and README, along
189 Note that distributing a compiled zlib library along with zlib.h and
192 in zlib.h as you would for a full source distribution.
194 25. Will zlib work on a big-endian or little-endian architecture, and can I
199 26. Will zlib work on a 64-bit machine?
203 difficulties, please provide a complete problem report to zlib@gzip.org
205 27. Will zlib decompress data from the PKWare Data Compression Library?
208 does PKZIP and zlib. However, you can look in zlib's contrib/blast
221 29. Does zlib work on MVS, OS/390, CICS, etc.?
224 were working ports of zlib 1.1.4 to MVS, but those links no longer work.
225 If you know of recent, successful applications of zlib on these operating
231 First off, you should read RFC 1951. Second, yes. Look in zlib's
234 31. Does zlib infringe on any patents?
237 zlib. Look here for some more information:
241 32. Can zlib work with greater than 4 GB of data?
253 zlib is compiled. See the zlibCompileFlags() function in zlib.h.
259 33. Does zlib have any security vulnerabilities?
261 The only one that we are aware of is potentially in gzprintf(). If zlib is
265 will not exceed 8K. On the other hand, if zlib is compiled to use
277 Note that you should be using the most recent version of zlib. Versions
282 34. Is there a Java version of zlib?
284 Probably what you want is to use zlib in Java. zlib is already included
286 a version of zlib written in the Java language, look on the zlib home
287 page for links: http://zlib.net/ .
302 is not affected. This only started showing up recently since zlib 1.2.x
308 37. Will zlib read the (insert any ancient or arcane format here) compressed
314 38. How can I encrypt/decrypt zip files with zlib?
316 zlib doesn't support encryption. The original PKZIP encryption is very
318 encryption, use GnuPG, http://www.gnupg.org/ , which already includes zlib
324 "gzip" is the gzip format, and "deflate" is the zlib format. They should
325 probably have called the second one "zlib" instead to avoid confusion with
327 correctly points to the zlib specification in RFC 1950 for the "deflate"
331 "deflate" transfer encoding using the zlib format would be the more
332 efficient approach (and in fact exactly what the zlib format was designed
338 40. Does zlib support the new "Deflate64" format introduced by PKWare?
345 41. I'm having a problem with the zip functions in zlib, can you help?
347 There are no zip functions in zlib. You are probably using minizip by
348 Giles Vollant, which is found in the contrib directory of zlib. It is not
349 part of zlib. In fact none of the stuff in contrib is part of zlib. The
350 files in there are not supported by the zlib authors. You need to contact
354 Since it's part of zlib, doesn't that mean that all of zlib falls under the
357 No. The files in contrib are not part of zlib. They were contributed by
358 other authors and are provided as a convenience to the user within the zlib
361 43. Is zlib subject to export controls? What is its ECCN?
363 zlib is not subject to export controls, and so is classified as EAR99.