LZHAM and Crunch compression libraries moved to public domain

Rich Geldrich translated compression libraries he developed LZHAM ΠΈ Crunch to category public domain (Public Domain), i.e. completely renounced property copyrights and provided the opportunity for distribution and use in any form by all without restrictions. For jurisdictions where the category of the public domain is not recognized, the appropriate reservations are left. Previously, the projects were distributed under the MIT and ZLIB licenses.

The Crunch library provides lossless texture compression and re-encoding using algorithms. DXTn. Crunch supports DXT1/5/N and 3DC texture formats and can save to DDS, CRN and KTX formats.

LZHAM provides a compression algorithm that is optimized for packaging resources shipped with game applications. Zlib compatible API is supported. Of the features of LZHAM, the possibility is noted
use of mapping tables (up to 64 KB), dictionaries (up to 500 MB), parallelization of operations in several threads and the use of delta-changes that allow you to distribute changes without repacking already compressed files.

In terms of compression and packing speed, the LZHAM implementation is comparable to LZMA, but in terms of decompression speed it is 1.5-8 times faster than LZMA (but slower than zlib). When compared with ZSTD, LZHAM is ahead of this algorithm in terms of compression efficiency, but is almost an order of magnitude behind in encoding speed and slightly behind in decoding speed.

Source: opennet.ru

Add a comment