Is there a way to compress the tiff file as a whole?
Short answer: No. TIFF images are always compressed per image/tile/strip.
Small print: It's possible for JPEG-encoded TIFF files to share tables, this could potentially perform better than linear growth, but I don't think this is what you are looking for.
You can of course create an uncompressed TIFF file, and compress it all using gz
, zip
or similar tools. However, it won't be a TIFF file any more. And I doubt it will compress better than TIFF with ZIP/Deflate + Predictor.