2019.03.29 19:14 "[Tiff] combining TIFF images, not multi-page", by Paul Hemmer

2019.03.30 12:44 "Re: [Tiff] combining TIFF images, not multi-page", by Paul Hemmer

Thanks Bob.

As to the "low RAM footprint way" - in fact I am hoping to use the hard-drive instead of RAM. This is why I have a folder full of small partial images in the first place.

Even with a pyramidal representation, if I'm talking about a final image that may be several hundred gigabytes (or larger) in size, I could never assemble it all in memory in order to write the bottom layer of that pyramid. Can each resolution level be written in "tile by tile" or even line by line? Does this require a different API (like the ImageMagick API?) I assume as well that BigTIFF can be a tiled pyramid?

________________________________
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Sent: Friday, March 29, 2019 7:02 PM

To: Paul Hemmer
Cc: Tiff List

Subject: Re: [Tiff] combining TIFF images, not multi-page

On Fri, 29 Mar 2019, Paul Hemmer wrote:

> Hi, thanks for the reply!
>
> Do tiled TIFFs open and display as a single image? Do the tiles all
> have to be the same size? My images are broken into full-height
> "columns" of varying widths, that I want to concatenate all together
> into one image in a low-RAM footprint way.

Tiled TIFF does typically "open and display as a single image" but
this is a function of the reader. The reader might choose just to
display one tile, or the image portion corresponding to several tiles.
The tile size is fixed within a given TIFF image.

As has been subsquently mentioned, ImageMagick and GraphicsMagick
provide 'montage' functionality which can paste images together as you
describe, but they do not do so in a "low-RAM footprint way", unless
you are willing to use your hard drive in place of RAM.

If you are dealing with very large images, then it is common to use
tiled tiff with multiple resolutions of the same image so that the
viewer than see a zoomed-out image as well as zoom in to just part of
the image.