Upon further investigation using *Tifftools* (https://libtiff.gitlab.io/libtiff/tools/tiffset.html), the Tiff file in question is showing an* offset* in the *XPosition* and the *YPosition* tags. Using *tiffset -s XPosition 0* and *Yposition 0* resets the top edge of the RGB picture to the expected top left position.
That fixes the tiff file, but I would love to know where this Offset was coming from and, more importantly, how to prevent it from happening in future image stitching with Hugin. On Monday, February 24, 2025 at 2:43:00 PM UTC-8 Claudio Rocha wrote: > After many years of using Hugin on a regular basis, I'm running into a > problem with Version 2024.0.1.ead3af10a01a in Linux: > > The stitched images are saved as a tiff file, that when opened in Krita > (or other image editors) shows the image displaced. The top left window of > the image shows mostly an alpha channel, and somewhere to the bottom right > the image starts to show but is not completely visible > [image: Screenshot from 2025-02-24 12-42-30-1.png] > The image has the correct dimensions in pixels, but the RGB part of the > image seems to be embedded in a larger canvas. > When I enlarge the canvas on the paint program the RGB information of the > stitched image shows: > [image: Screenshot from 2025-02-24 12-44-32.png] > I've been re-cropping and re-saving to correct the problem, but It seems > to me that Hugin is doing something that is off, but that I have not found > a way to prevent. I have many many images to go through, some of them quite > large and I end up using a lot of time fixing something that seems > preventable. Is there a setting I'm overlooking or is this some kind of bug? > > Just for the record the image seems to be correctly cropped in Hugin's GL > window: > > [image: Screenshot from 2025-02-24 14-17-52.png] > > I'm looking forward to reading your thoughts and maybe find a cure for > this issue. > > > -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/0c99813d-7775-40e2-aaea-92622e8ab996n%40googlegroups.com.
