Minizip alternatives and similar libraries
Based on the "Compression" category.
Alternatively, view Minizip-ng alternatives based on common mentions on social networks and blogs.
6.1 6.0 L3 Minizip VS zlib-ngzlib replacement with optimizations for "next generation" systems.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Minizip or a related project?
minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.
Developed and maintained by Nathan Moinvaziri.
|Most recent release.
|Latest development code.
|Old changes to original minizip that includes WinZip AES encryption, disk splitting, I/O buffering and some additional fixes. Not ABI compatible with original minizip.
|Original minizip as of zlib 1.2.11.
Minizip was originally developed by Gilles Vollant in 1998. It was first included in the zlib distribution as an additional code contribution starting in zlib 1.1.2. Since that time, it has been continually improved upon and contributed to by many people. The original project can still be found in the zlib distribution that is maintained by Mark Adler.
The motivation behind this repository has been the need for new features and bug fixes to the original library which had not been maintained for a long period of time. The code has been largely refactored and rewritten in order to help improve maintainability and readability. A compatibility layer has been provided for consumers of the original minizip library.
- Creating and extracting zip archives.
- Adding and removing entries from zip archives.
- Read and write raw zip entry data.
- Reading and writing zip archives from memory.
- Support for large files with ZIP64 extension.
- Zlib, BZIP2, LZMA, XZ, and ZSTD compression methods.
- Password protection through Traditional PKWARE and WinZIP AES encryption.
- Buffered streaming for improved I/O performance.
- NTFS timestamp support for UTC last modified, last accessed, and creation dates.
- Disk split support for splitting zip archives into multiple files.
- Preservation of file attributes across file systems.
- Follow and store symbolic links.
- Unicode filename support through UTF-8 encoding.
- Legacy character encoding support CP437, CP932, CP936, CP950.
- Turn off compilation of compression, decompression, or encryption.
- Windows (Win32 & WinRT), macOS and Linux platform support.
- Streaming interface for easy implementation of additional platforms.
- Support for Apple's compression library ZLIB and XZ implementations.
- Zero out local file header information.
- Zip/unzip of central directory to reduce size.
- Ability to generate and verify CMS signature for each entry.
- Recover the central directory if it is corrupt or missing.
- Example minizip and minigzip command line tools.
To generate project files for your platform:
- Download and install cmake (version 3.11 or later recommended).
- Run cmake in the minizip directory.
cmake . -DMZ_BUILD_TESTS=ON
cmake --build .
|Enables compatibility layer
|Enables ZLIB compression
|Enables BZIP2 compression
|Enables LZMA & XZ compression
|Enables ZSTD compression
|Enables Apple compression
|Enables fetching third-party libraries if not found
|Enables fetching third-party libraries always
|Enables PKWARE traditional encryption
|Enables WinZIP AES encryption
|Enables OpenSSL encryption
|Builds with libbsd crypto random
|Enables zip signing support
|Enables iconv encoding conversion
|Only support compression
|Only support decompression
|Builds using posix 32-bit file api
|Builds minizip test executable
|Builds minizip unit test project
|Builds minizip fuzz executables
|Build with code coverage flags
|Project name suffix for packaging
Third-party libraries may be required based on the CMake options selected. If the system already has the library
installed then it will be used, otherwise CMake will retrieve the source code for the library from its official git repository and compile it in when the
MZ_FETCH_LIBS option is enabled.
|Written by Julian Seward.
|Written by Igor Pavlov and Lasse Collin.
|Written by Mark Adler and Jean-loup Gailly. Or alternatively, zlib-ng by Hans Kristian Rosbach.
|Written by Facebook.
This project uses the zlib [license](LICENSE).
Thanks go out to all the people who have taken the time to contribute code reviews, testing and/or patches. This project would not have been as good without you.
Thanks to Gilles Vollant on which this work is originally based on.
The ZIP format was defined by Phil Katz of PKWARE.
*Note that all licence references and agreements mentioned in the Minizip README section above are relevant to that project's source code only.