Thursday, August 4, 2011

How to offset the positioning of the Preview Gridlines in GIMP?

Question

When rotating an image with GIMP, there is an option to superimpose gridlines on the image. The number of lines is settable but the offset is not. I'd expect that when changing the center of rotation, the grid will be moved as well, but it is not.

Why would I want to do so? When rotating in Corrective mode, I want to align the grid with a supposedly horizontal/vertical line in the image to get perfect leveling. However, when the reference line in the image is not at the place of a gridline, it is more difficult. I found out that increasing the number of gridlines gets me close to this, but I wonder -

Is it possible to change the offset of the grid?

While we are at it - how to automatically adjust the canvas after rotation in GIMP, when Clipping is set to Crop?

Answer

AFAIK there is no way to offset the grid. However, there is a simpler way to straighten the photo: simply drag a guide from the ruler at the edge of the image until it lies along the horizon (or whatever else you want), then rotate as normal.

No comments:

Post a Comment