We've all taken images that aren't level, but of course, the problem is that if the composition is too tight, you may not be able to rotate the photo back to neutral without cutting off part of the subject or some other important bit. This helpful tutorial will show you what you can do in that situation.
Coming to you from Unmesh Dinda of PiXimperfect, this great video will show you how to take advantage of the Content-Aware Crop tool in Photoshop and how you can easily get the same results if you're using an earlier version of the program. When you rotate an image but maintain the crop, you'll often lose parts of it along the edges, which traditionally means cropping in further until it is entirely contained within the image again. However, this can dramatically alter the composition of the photo by changing the relative position of subject(s) within the frame. This is where Content-Aware Crop comes to the rescue. It can automatically fill in the missing areas, allow you to rotate an image or change its aspect ratio with more freedom. Of course, as you'll see, it's not magic, and it'll have trouble with more difficult things like human body parts, but for things like a landscape background or the sky, it can be exactly what you need.
There’s a square symbol with an arrow around it, - this is my tutorial on how to rotate images on an iPhone.
Oh I though this post is about how to rotate without losing resolution :) I do use content aware quite a lot when recomposing (if have to recompose), for sure it's a great tool. Sometimes things are not that simple so it's nice to know how to use this tool together with stamp brush and clone tool. Can get really great and real results.