Rotating With The Straighten Tool
Photoshop CS6 Tutorial
How to Rotate the Document in Photoshop RAW with the Straighten Tool
Taking pictures with a level horizon or with vertical building lines can be challenging. By shooting in RAW format and importing into Photoshop, you can easily fix any camera rotation.
Open a RAW image in Photoshop (File > Open) that needs a rotation correction.
Click the Straighten tool (a key). Click and drag a line in the image that should be horizontal. The image rotates and corrects itself.
To avoid any surprises, make sure to set the Crop tool options to Normal.
The Straighten tool also works when you click and drag a vertical line in the image.
Notice that the image is slightly cropped as it rotates. As the image rotates, the final size is adjusted as indicated by the readout at the bottom of the window.