Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference in a multi-strip TIFF and a single-strip TIFF when using the LibTiff.Net 2.3 library

When I'm using the LibTiff.Net 2.3 library I'm confused as to why I would ever want to save as a multi-strip TIFF image. Why not just always use the one big chunk (single-strip) rather then all the tiny chunks (multi-strip)? I think the multi-strip is even a little bigger possibly?

like image 760
Arvo Bowen Avatar asked Jan 30 '26 14:01

Arvo Bowen


1 Answers

Usually a multi-strip image is a little bit larger (in terms of file size) than single strip. But multi-strip images has some advantages:

  • Less memory can be used to process whole image because an application can process one strip at a time. For very large images it can make a difference. See this question for example.

  • Random access to image data is less complicated. Some compression schemes like LZW do not allow random scanline to be read. The library must decode all scanlines from the start of a strip in order to decode a scanline within a strip.

like image 179
Bobrovsky Avatar answered Feb 01 '26 07:02

Bobrovsky



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!