The ability to rotate or flip a whole image, or just a single layer, or selection in GIMP is demonstrated by Mike Rankin. Commands for flip horizontally, flip vertically, and rotating 90 degrees clockwise or counterclockwise, or 180 degrees are also shown, as well as the use of guides when rotating, and constraining a rotation as you drag.
- [Instructor] Rotating images is another common task that you'll need to perform, from time to time, in GIMP. SO, let's see how to do that. If your goal is to rotate or flip the whole image, you can go to the image menu and choose transform. And, there you'll find commands for flip horizontally, flip vertically, rotating the image 90 degrees clockwise, or counter-clockwise, or 180 degrees. And, if I choose one of these, like flip horizontally, you can see the effect. I'll just press command z to undo that.
Now, if I wanted to affect the current layer, or a selection, I can find all those same commands in the layer menu, under transform. So, for example, I can target the layer with the man standing with his surfboard and flip just that layer. I'll undo again, to put him back. And, if you just want to rotate or flip some layers in the document, you can link them using the controls in the layers dialogue. Click the area just to the right of the visibility icon and target the layer you want the transformation to be oriented around.
So, I'll click to link the standing and carrying layers, and I want that transformation to be oriented around the carrying layer, so I'll click that, and then I'll choose my transformation. Layer, transform, flip horizontally. And, you can see that both layers were flipped. I'll undo again, to put things back as they were. If you need to perform an arbitrary rotation, where you can choose any angle, you can select that from the layer transform menu, too, or you can use the rotate tool.
First, target the layer that you wanna rotate. I'll unlink to the two layers with the surfers and target the standing layer. Then I'll click the rotate tool, in the tool box, and notice in the tool options, you can choose to rotate the current layer or a selection or a path. I'll stick with layer and click in the image. And, when I clicked, two things happened. First, a dialogue opens where you can set the angle of the rotation, either by entering a specific value or by dragging with this slider.
I'll click reset, to reset the angle to zero. And, note that there's is also a control for you to set the axis point for the rotation. This is like sticking a pen the imagine and spinning it around that point. And, the axis point is this circle, here. You can click and drag this to rotate around a different spot, like the top right corner of the image. And, now when I drag, you see the effect. I'll reset again. And, note that you can even position the access point outside the canvas.
I can drag it way out here, if I needed to. And again, the rotation would be centered around that point. And, I'll reset. Now, in addition to the dialogue box, the other thing that happened when I clicked on the image was this set of guides appeared. These can help illustrate how much the image is being rotated, and you adjust the number of these guides, in the tool options. You can increase or decrease them, by clicking and dragging in the slider, or clicking the up or down arrow controls.
You can also choose options like diagonal guides, rule of thirds, or just guides that go through the center. Or, you can turn off the guides, all together, by choosing no guides. If you wanna see a preview of what the rotation will look like, select the preview option, and you can control the opacity, as well. You can also have the rotation snap to 15 degree increments, or you can just hold down the command key here, on the Mac, or control in Windows to get the same effect.
And finally, I wanna point out these clipping options. These will determine the size of the layer, after it's been rotated. Adjust will increase the rectangular area of the layer to fit in all of the rotated content. Clip will simply cut off any pixels that are rotated out of the view. And, the two crop options will give you the smallest, final area, by trimming off any transparent pixels. So, let's finish the job here, by setting the axis point about where the woman's elbow would be, and rotating this other layer 25 degrees, and click rotate.
I'll switch to the board's layer, just to hide that boundary. And, we can see the final effect. So, rotating images is a straightforward task in GIMP. You can affect the whole file with choices in the image, transform menu, or you can rotate a selection layer or path, by any arbitrary amount with a rotate tool.
- Navigating the GIMP interface
- Creating and saving documents
- Working with selections
- Using Quick Masks
- Adjusting images with Curves and Levels
- Working with text and paths
- Working with colors and brushes
- Configuring brush keyboard shortcuts
- Enhancing photos with filters
- Outputting images