: How do I directly set layer positions in Gimp? I'd like to directly set (i.e. type in actual coordinates of) the position of my layer in the image, like you can with the selection box:
I'd like to directly set (i.e. type in actual coordinates of) the position of my layer in the image, like you can with the selection box:
(Not the size, but that would also be cool)
Is this possible?
Thanks
More posts by @Hamaas979
7 Comments
Sorted by latest first Latest Oldest Best
Use the "Align" tool.
Start the Align tool ()
Click on your layer (it should get four small squares in the corners)
In The Tool options dialog:
Set Relative to to Image
Go to the Distribute section
In the Offset field enter the X coordinate
Click the icon
In the Offset field enter the Y coordinate
Click the icon
Try using guides. Navigate to Image > Guides > New guide... Make it horizontal and enter your desired Y coordinate. Now do the same but make it vertical and put your x coordinate. Now use the move tool and it should snap to the guide. Hope i helped :)
Well, I was hoping to come here to find a better solution than the one I had used originally, but the way I usually do it is to use the rectangular marquee tool, along with a cut/paste of the layer I want to move. Basically, I follow these steps:
Cut the entire layer I want to move to an exact position.
Make an approximate rectangular marquee (doesn't matter how much bigger/smaller it is than the thing you want to place somewhere, we can set the width and height).
Set the x and y position of the marquee to the position I want to place the layer.
Set the width and height of the marquee to the width and height of the layer I just cut. (sometimes I have guide layers, and used a rectangular marquee that was precisely the size of the layer I wanted to move, to begin with, so you may not always need this step).
Paste the layer, and convert the pasted item to a layer. It should now be in the precise position I wanted it to be.
Again, I wish there were a simpler way, but this way is the most accurate and reliable, and the least time-consuming, AFAIK.
OK this is a bit of a hacky way of going about it, but it gets pixel-perfect positioning. I had a layer that was 30px by 30px and I wanted to add it at 500,500 in a larger image. I made a new transparent image, sized at 530px by 530px; pasted my small layer into it and then used the Align tool to position it at bottom-right.
I then pasted this 530px by 530px layer onto my original large image and used Align to position it at top-left...
:o)
I was looking for an answer to this, which is why I came upon this question. The closest solution I could find is this:
Click on the top ruler and drag down a guide to the Y coordinate you want.
Click on the left ruler and drag right a guide to the X coordinate you want.
Use the move tool to drag the layer to the approximate position you want it. It will snap to the rulers.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.