Overview of miniz features and capabilities
masterMiniz is a high-performance, lossless data compression library written in plain C. Key features include:
- Standards Compliance: Implements zlib (RFC 1950) and Deflate (RFC 1951) specifications.
- API Compatibility: Serves as a drop-in replacement for many commonly used zlib APIs.
- Format Support: Includes functions for writing
.PNGfiles and a set of APIs for reading, writing, and appending.ZIParchives. - Stream Processing: Supports stream-based processing via a coroutine-style implementation (not block-based). The zlib-style API functions can be called one byte at a time.
- Low-level Codecs: Provides
tdefl(compressor) andtinfl(decompressor) with simple state structs that can be saved/restored usingmemcpy. These low-level APIs do not use the heap. - Portability: Single source and header file library; tested with GCC, clang, and Visual Studio.
- Licensing: MIT licensed (independent of zlib's licensing).