GIMP: How to center a layer between two others
I want to center some text between two images.
The way I've been doing it is:
- Take the left edge location of the right image.
- Subtract the Right edge location of the left image.
- Subtract half the length of the text. (Or any layer you wanted to center. You can find the size with the scale tool).
- Left-Distribute the text with the Align tool and the number of pixels you calculated.
It seems like I should be able to do this much easier with the Distribute/Align tool, without needing a pencil and paper and basic math.
One of the related questions: "GIMP: find midpoint / arbitrary division between two points" seems to say this is the only solution.
My approach would be as follows:
Assuming that your two images are layers, and that the text layer does exist already:
- create a selection that spans the area between the two layers' right and left edges
- use the Align tool on the text layer, choose "Selection" in the "Relative to" dropdown in its tool options
- Align as desired with the buttons in the Align tool options
If this does not solve your task, then you should add an image to your question and point out where it differs from your intended result.