Lines Matching refs:zlib
2 Frequently Asked Questions about zlib
5 If your question is not there, please check the zlib home page
6 https://zlib.net/ which may have more recent information.
7 The latest zlib FAQ is at https://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.
19 3. Where can I get a Visual Basic interface to zlib?
22 * https://zlib.net/nelson/
23 * win32/DLL_FAQ.txt in the zlib distribution
41 strm.avail_out returns with zero. See https://zlib.net/zlib_how.html for a
44 6. Where's the zlib documentation (man pages, etc.)?
46 It's in zlib.h . Examples of zlib usage are in the files test/example.c
51 Because we would like to keep zlib as a very small and simple package.
52 zlib is rather portable and doesn't need much configuration.
54 8. I found a bug in zlib.
56 Most of the time, such problems are due to an incorrect usage of zlib.
58 corresponding source to us at zlib@gzip.org . Do not send multi-megabyte
70 10. I need a Delphi interface to zlib.
72 See the contrib/delphi directory in the zlib distribution.
74 11. Can zlib handle .zip archives?
76 Not by itself, no. See the directory contrib/minizip in the zlib
79 12. Can zlib handle .Z files?
92 14. How do I install a shared zlib library on Unix?
98 However, many flavors of Unix come with a shared zlib already installed.
99 Before going to the trouble of compiling a shared version of zlib and
101 can #include <zlib.h>, it's there. The -lz option will probably link to
102 it. You can check the version at the top of zlib.h or with the
103 ZLIB_VERSION symbol defined in zlib.h .
110 16. Can zlib decode Flate data in an Adobe PDF file?
117 After installing zlib 1.1.4 on Solaris 2.6, running applications using zlib
123 The symbol __register_frame_info is not part of zlib, it is generated by
124 the C compiler (cc or gcc). You must recompile applications using zlib
126 http://www.sunfreeware.com for Solaris versions of zlib and applications
127 using zlib.
131 The compress and deflate functions produce data in the zlib format, which
133 zlib on the other hand use the gzip format. Both the zlib and gzip formats
140 single file, such as the name and last modification date. The zlib format
147 You can request that deflate write the gzip format instead of the zlib
149 gzip format using inflateInit2(). Read zlib.h for more details.
151 21. Is zlib thread-safe?
153 Yes. However any library routines that zlib uses and any application-
154 provided memory allocation routines must also be thread-safe. zlib's gz*
155 functions use stdio library routines, and most of zlib's functions use the
156 library memory allocation routines by default. zlib's *Init* functions
163 Of course, you should only operate on any given zlib or gzip stream from a
166 22. Can I use zlib in my commercial application?
168 Yes. Please read the license in zlib.h.
170 23. Is zlib under the GNU license?
172 No. Please read the license in zlib.h.
177 You need to change the ZLIB_VERSION and ZLIB_VERNUM #defines in zlib.h. In
180 x.x.x.f are reserved for modifications to zlib by others than the zlib
181 maintainers. For example, if the version of the base zlib you are altering
182 is "1.2.3.4", then in zlib.h you should change ZLIB_VERNUM to 0x123f, and
187 nature of the changes in zlib.h, as well as in ChangeLog and README, along
192 Note that distributing a compiled zlib library along with zlib.h and
195 in zlib.h as you would for a full source distribution.
197 25. Will zlib work on a big-endian or little-endian architecture, and can I
202 26. Will zlib work on a 64-bit machine?
206 difficulties, please provide a complete problem report to zlib@gzip.org
208 27. Will zlib decompress data from the PKWare Data Compression Library?
211 does PKZIP and zlib. However, you can look in zlib's contrib/blast
224 29. Does zlib work on MVS, OS/390, CICS, etc.?
227 were working ports of zlib 1.1.4 to MVS, but those links no longer work.
228 If you know of recent, successful applications of zlib on these operating
234 First off, you should read RFC 1951. Second, yes. Look in zlib's
237 31. Does zlib infringe on any patents?
240 zlib. Look here for some more information:
244 32. Can zlib work with greater than 4 GB of data?
256 zlib is compiled. See the zlibCompileFlags() function in zlib.h.
262 33. Does zlib have any security vulnerabilities?
264 The only one that we are aware of is potentially in gzprintf(). If zlib is
269 hand, if zlib is compiled to use snprintf() or vsnprintf(), which should
280 Note that you should be using the most recent version of zlib. Versions
285 34. Is there a Java version of zlib?
287 Probably what you want is to use zlib in Java. zlib is already included
289 a version of zlib written in the Java language, look on the zlib home
290 page for links: https://zlib.net/ .
305 is not affected. This only started showing up recently since zlib 1.2.x
311 37. Will zlib read the (insert any ancient or arcane format here) compressed
317 38. How can I encrypt/decrypt zip files with zlib?
319 zlib doesn't support encryption. The original PKZIP encryption is very
321 encryption, use GnuPG, https://www.gnupg.org/ , which already includes zlib
327 "gzip" is the gzip format, and "deflate" is the zlib format. They should
328 probably have called the second one "zlib" instead to avoid confusion with
330 correctly points to the zlib specification in RFC 1950 for the "deflate"
334 "deflate" transfer encoding using the zlib format would be the more
335 efficient approach (and in fact exactly what the zlib format was designed
341 40. Does zlib support the new "Deflate64" format introduced by PKWare?
348 41. I'm having a problem with the zip functions in zlib, can you help?
350 There are no zip functions in zlib. You are probably using minizip by
351 Giles Vollant, which is found in the contrib directory of zlib. It is not
352 part of zlib. In fact none of the stuff in contrib is part of zlib. The
353 files in there are not supported by the zlib authors. You need to contact
357 Since it's part of zlib, doesn't that mean that all of zlib falls under the
360 No. The files in contrib are not part of zlib. They were contributed by
361 other authors and are provided as a convenience to the user within the zlib
364 43. Is zlib subject to export controls? What is its ECCN?
366 zlib is not subject to export controls, and so is classified as EAR99.