If you use photoshop, in the "Transform" dialogue, there is a sub category called, "warp." This feature is often abused but it you duplicate your image, go to warp, you will see yet another dialogue appear that allows you to "pull" up one side of an image - such, as in this photo, the Lighthouse, to a more vertical aspect without sacrificing the rest of the angles in the image...though IMO, the structure could stand some lifting on the back left side, as well.