Straightening Tool for Photographic Images
Initializing live version
Drag the "straightening tool" line to an area in the photo that you want to be horizontal. The image rotates accordingly and you can crop away the unwanted borders.
Inspired by the Demonstration of Yu-Sung Chang: "Straightening Up an Image".