Add gzip compression to a C or C++ application by linking against zlib and calling its compress and decompress functions.
Read and write .gz files in your program using zlib gzip-format support.
Implement deflate-format stream compression in a network protocol or file format following open RFC standards.
| madler/zlib | philipl/pifs | hathach/tinyusb | |
|---|---|---|---|
| Stars | 6,857 | 6,897 | 6,796 |
| Language | C | C | C |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 3/5 | 3/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Builds with standard configure and make on Unix, Windows requires a separate build configuration included in the source.
zlib is a data compression library written in C. It has been in continuous use since 1995 and is one of the most widely distributed pieces of software in existence, built into operating systems, web browsers, file archivers, databases, and countless other programs. When software needs to make files smaller for storage or transmission, zlib is often the library doing that work behind the scenes. The library implements a compression format called deflate, which is also the basis of the gzip format used for .gz files and the zlib envelope format. These formats are defined in public internet standards documents (RFCs 1950, 1951, and 1952) rather than being proprietary, so data compressed with zlib can be read by any conforming implementation. zlib is designed to be used by developers as a component in their own software. It provides functions for compressing and decompressing data and is documented through a header file called zlib.h. The library comes with example programs and a test suite. It builds on most Unix-like systems with a standard configure and make process, and the source includes additional build configurations for Windows and other platforms. The library is thread-safe with some caveats noted in the FAQ. It does not include any third-party code and has been written entirely by Jean-loup Gailly and Mark Adler. Language interfaces exist for Python, Java, Perl, and Tcl, though those are maintained separately. zlib is free to use in any software, including commercial products, under a permissive license that does not require the usual open-source attribution to be included in the end product. The library's home page and FAQ are at zlib.net.
A foundational C library for compressing and decompressing data, used inside operating systems, browsers, and databases worldwide. It implements the gzip and deflate formats defined in open internet standards.
Mainly C. The stack also includes C.
Use freely in any software including commercial products, you do not need to include an attribution notice in your end product.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.