Search code examples
ccompressionrgba

Real time compression of 32 bit RGBA image data


What is the fastest algorithm for compressing RGBA 32 bit image data? I am working in C, but am happy for examples in other programming languages.

Right now I am using LZ4 but I am considering run length / delta encoding.

Lossless encoding, a mix of real life images and computer generated / clipart images. Alpha channel always exists, but is usually constant.


Solution

  • I ended up just using LZ4. Nothing else was even close to as fast and LZ4 usually got at least 50% size reduction.