Brotli compression
Posted: Thu Aug 01, 2024 11:30 am
Brotli is a compression algorithm/library which is developed by google and mainly used to compress web traffic.
In my tests it turns out Brotli is a great compressor overall. If you go all the way up on compression level to the max, which is 11, it compresses very slowly but achieves better compression ratios than LZMA. It is especially good for text and code because it comes with a predefined dictionary of common words, but can be used for generic data as well.
https://github.com/google/brotli
I compiled a static lib for Windows and made a PB include to use it in PureBasic.
Download
In my tests it turns out Brotli is a great compressor overall. If you go all the way up on compression level to the max, which is 11, it compresses very slowly but achieves better compression ratios than LZMA. It is especially good for text and code because it comes with a predefined dictionary of common words, but can be used for generic data as well.
https://github.com/google/brotli
I compiled a static lib for Windows and made a PB include to use it in PureBasic.
Download