Tilt BufferedImage about the x-axis
===

**My project**: I'm creating a map/terrain from an `int[]` and the output is a `BufferedImage`. 

**Problem**: I want to tilt the `BufferedImage` backwards (about the x-axis) 25 degrees. 

That is to say, I want to convert this:

     _____
    |     |
    |     |
    |     |
     -----

into something like this

       ____
      /    \
     /      \
    /        \
    ----------


I was looking at [this answer][1] and it sounds like the `PerspectiveTransform` from JAI might do the trick. 

**Question**: How can the `PerspectiveTransform` be applied to the `BufferedImage`? Is this the right way of tilting the image back?

  [1]: http://stackoverflow.com/a/7012847/1201423