# Zlib Zlib ([RFC 1950](https://www.ietf.org/rfc/rfc1950.txt)) is a thin wrapper around raw deflate (RFC 1951). Zlib is similar to gzip (RFC 1952), but with a different wire format and checksum algorithm. Zlib is used by the ELF executable and PNG image file formats. TODO: a worked example.