A common situation when stitching images together is that most of the output image or layer is empty. This happens particularly during perspective correction or when creating High resolution partial panoramas from large numbers of photos.
This is ok except that panorama tools will labouriously process the geometry for all these empty pixels, which then consume valuable memory and disc space.
The TIFF specification allows for an image canvas to include a smaller image at an offset within the larger area using the XPOSITION and YPOSITION TIFF tags, which is ideal for a typical panoramic image that is mostly empty space.
hugin, nona and PTmender can be told to create such cropped TIFF files by adding r:CROP as a TIFF option to the panorama format section of the p line in a stitching script. Two TIFF output formats are supported, TIFF_m and TIFF_multilayer.
For example the following p line produces multiple cropped TIFF files with LZW compression:
p f0 w1000 h500 v120 n"TIFF_m c:LZW r:CROP"