AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

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

2010.05.11 23:45 "Re: [Tiff] How to calc RowsPerStrip?", by Olivier Paquet

2010/5/11 Oliver Geisen <oliver.geisen@kreisbote.de>:

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

Whatever makes your strip of reasonable size (in bytes). Some constant between 8 and 64 should be just fine for most uses.

Can i omitt that?

I don't know. You have to have a strip size anyway but I'm not sure how libtiff behaves if you don't set it.

Olivier