syoyo / tinydng

Header-only Tiny DNG/TIFF loader and writer in C++
MIT License
154 stars 30 forks source link

[TODO] Optimize LZW and LosslessJPEG(lj92) decoding/encoding #24

Open syoyo opened 2 years ago

syoyo commented 2 years ago

LZW and LosslessJPEG uses a library which is not optimized.

Inherently, LosslessJPEG is a predictor + huffman compression of pixel data.

We could utilize wuff library(huffman decoder/encoder) to make it faster: https://github.com/google/wuffs