Single-call compression functions mz_compress() and mz_compress2(): Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure.
Single-call compression functions mz_compress() and mz_compress2(): Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure.
Same, but also specify window_bits, in case the stream has no header. This is useful for iPhone PNG. Also allows to skip Adler32 check.