On Mon, 2006-11-27 at 15:14 -0800, Daniel M. German wrote:
> This is just a quick reply, I'll have to think over the other issues.
> JD> 1. I could substitute multiple cropped TIFFs for multi-layer TIFF (and
> for PTmender, you have to), but GIMP cannot read the offset
> information from these. The script TIFF2XCF also cannot handle
> cropped TIFFs (it assumes all input files are the same size). I
> could update TIFF2XCF to load and position cropped TIFFs if we
> encoded the offset and full image size information of the cropped
> TIFF files themselves in the filename: pano_212_45_10500_5250.tif,
> or similar. I think this would be useful for other reasons as
> well, to quickly locate the image in the larger pano, for instance.
> You'd also be able to quickly select pairs or groups which overlap
> to load in and manipulate their masks, without loading all of them.
> Encoding info in the filenames is a bad idea, in my opinion. It would
> be easier to use the tiffinfo command to determine if the file is
> cropped, and by how much.
I agree, but unfortunately there is no way to call external code from a
Gimp script (at least of the Script-Fu variety), so encoding in the
filename is the only option. We could make a tool to do the filename
encoding in advance, but then TIFF2XCF++ would be less useful to people.
> JD> 2. We need to be able to save masks for each cropped TIFF image as PNG
> (or other), which can be used by all the tools, PTBlender, enblend,
> etc. There is no tool I found which can modify or add a mask to a
> cropped TIFF without destroying its crop header information.
> This is easy. What we need is a tool to extract and to replace a mask.
> JD> 4. Does PTBlender read and write cropped TIFFs? This would greatly
> speed up processing (for enblend and later).
> Yeap. All the tools "panotools" currently do (and if they don't it is
> a bug).
Good, so it's just replacing masks and loading cropped TIFFs into the
Gimp, then. Are the cropping and full size keywords standard enough
that we could get them into the Gimp? That may be an easier route,
though there was a bug filed last March with no action (patches are
better than bugs, as we know).