Consider this image:
I know the aspect ratio. I would like to turn this skewed rectangle to rectangle with correct aspect ratio, as big as possible.
I can use perspective transformation in GIMP, but that doesn't allow me to control the aspect ratio of the result. Also, there are no guidelines for horizontal and vertical lines, so it's hard to get it right.