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

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

Could I ask the question if you all are still discussing about the question I had? I will try to summerize the points I get here (they might be good but they aren't whats near to my problem.

- you say it's bad to assume anything.

  + DO you mean decomompression? - Yeah sure but decompression never was a problem. If I read over the row limit I will throw an error.
  + Do you mean compression? Why shouldn't I assume something. I compress "random data" with a simple algorithm that has a clear worst case situation.

If you can't answer my question that's no problem because you most likely didn't implement the packbits libtiff code but at the moment it isn't really helpful. I will investigate and try if it's something like srcByteLen / 127 + 1 instead of 128.

Thanks.
Simon