2010.05.11 17:50 "[Tiff] How to calc RowsPerStrip?", by Oliver Geisen

2010.05.12 16:53 "Re: [Tiff] How to calc RowsPerStrip?", by Bob Friesenhahn

if i create a TIFF image from scratch (in memory) and write this to disk, what should i take for the TIFFTAG ROWSPERSTRIP value? Can i omitt that?

Olivier Paquet's answer is a good one. It is best to consider typical CPU L2 cache sizes and provide plenty of working space if possible. Your strip data will be touched by the CPU several times in independent processing passes so it is wise to try to ensure that it can be retained in cache. If your image is extremely wide, then you might end up with just one row per strip as the best solution.

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