I need an inverse perspective transform written in Pascal/Delphi/Lazarus. See the following image:
Use Graphics32, specifically TProjectiveTransformation (to use with the Transform method). Don't forget to leave some transparent margin in your source image so you don't get jagged edges.