2009.04.26 17:22 "[Tiff] Packbits worst case encoded length", by Simon Berger

2009.04.29 19:43 "Re: [Tiff] Packbits worst case encoded length", by Simon Berger

I think your formula was correct, for a best-effort compressor.

Those answers really aren't helpful.

  1. I know that it has to be correct because it is from the specification of the packbits algorithm
  2. I pointed out that I need to get a presumption of the libtiff implementation of packbits.

The reason for point 2 is a lossless re-compression of Tiff files I do. You can read it here:

http://encode.ru/forum/showthread.php?t=332