| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.04.26 17:22 "Packbits worst case encoded length", by Simon BergerI implemented the packbits encode/decode functions of libtiff. It works great overall, but sometimes the worst case formula: srcByteLen + (srcByteLen + 126) / 127 doesn't work. On a 24 bit image with big width I got 1 - 15 higher output. Is this due to a non standard implementation and is there any length I can safely use instead of any flushing inside the function (I cut the block off)? Thanks in advance. |
|||||||