I have a large scan of a picture with multiple folds in it. I need a tool that will let me take each folded section of the picture and stretch/scale it along its vertexes such that I can shape each folded section to fill in the boundaries of the canvas. I’ve already rotated and cropped the picture as much as possible, however scanned pictures never seem to be perfectly rectangular.
Using both GIMP 2.10.34 and GIMP 2.99.16, I’ve attempted using the perspective tool, but discovered that when manipulating a vertex, it will warp/modify pixels along non-adjacent edges, making lines that go through the picture’s folded section look very noticeably misaligned, with no obvious options to keep it from doing this.
For instance, let’s say I have a picture with a single fold. The right half is perfectly aligned and square to the canvas, filling it up to the edge. The left half, however, has its left edge not perfectly aligned to the canvas. The top left corner needs to be pushed to the left by a few dozen pixels, so I use the perspective tool to do that. However, now the right edge has been modified. The pixels on the right edge, specifically the middle of the right edge, are now pushed down by a dozen or so pixels. So any lines that cross over the right edge of the left fold are now misaligned with the left edge of the right fold.
I’ve attempted to do the same thing with multiple other tools. The scale tool will only do edges, so that won’t work. Trying to do a handle transform with four points on the fold’s vertexes gives the same perspective transform, as does using the unified transform tool. I’ve also tried using the cage transform with four points positioned on the fold’s vertexes, but the tool just seems to fail for this use case with a large selection that needs precise manipulation as, when deforming points, the points do not follow the vertexes, which is compounded by the fact that there is no preview option, so the results for any adjustment have me waiting for 15 or so seconds for the tool to do its thing, after which I end up having to nudge it multiple times, and when a vertex is finally nudged into place, the other vertexes and edges of the selection end up screwed up in weird ways, such as other vertexes moving when they weren’t touched or a row/column of half a dozen pixels doubling/repeating themselves along the edges.
Basically, what I need is a tool that gives me vertex manipulation that’s similar to the perspective tool, but with results more akin to the scale tool if the scale tool also had vertex support so that the lines that go through the middle of my scanned folded picture don’t end up misaligned by the end of it.