AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2010.05.11 17:50 "How to calc RowsPerStrip?", by Oliver Geisen
2010.05.11 23:45 "Re: How to calc RowsPerStrip?", by Olivier Paquet
2010.05.12 16:53 "Re: How to calc RowsPerStrip?", by Bob Friesenhahn

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

On Tue, 11 May 2010, Oliver Geisen wrote:
>
> 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/