2005.09.23 21:11 "[Tiff] Additional Lossless Compression Schemes", by Frank Warmerdam

2005.09.25 15:14 "Re: [Tiff] Additional Lossless Compression Schemes", by Bob Friesenhahn

kilobyte, to calculate ideal strip/tile dimensions for you, you'll end up storing a single line per strip and such stuff, that is really crazy today and hurts compression badly. I recommend aiming for 2 megabyte instead. That'll give ZLib data with lots of redundancy to eliminate, instead of limiting its view to a single scanline or just a couple of them, and will contribute quite a bit to a good compression ratio.

I think that 2 megabyte is wasteful. Also, while 2 megabyte may seem like just a little bit of memory in a modern computer, it may be a lot of memory for a device like a photo printer.

For GraphicsMagick 1.2, I chose a strip size of 32K when using deflate compression. This was based on some testing which showed little actual benefit for more than 32K and (as I recall) some similar commentary in Adobe's application note.

Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/