syoyo / tinydng

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

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

Open syoyo opened 1 year ago

syoyo commented 1 year 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