Results 1 to 2 of 2
  1. #1
    neptune692 is offline Member
    Join Date
    Jan 2011
    Posts
    20
    Rep Power
    0

    Question Help with Stretching an Image

    Hi all,

    I need to modify the perspective of an image, I have tried using the AffineTransform class and to my knowledge there is no way to do the following using AffineTransform:



    So my question is, is there a way to achieve the above using the AffineTransform class or is there some other basic or simple method I can use to perform this kind of transformation on a BufferedImage? I will be using this in an animation loop so speed is also important. But I don't think that will be a problem.

    Thank you for your help. It seems like there must be something i'm missing or some simple api that i've overlooked.

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,226
    Rep Power
    6

    Default

    I've never used it before but Java Advanced Imaging (JAI) has a PerspectiveTransform class.

Similar Threads

  1. Replies: 12
    Last Post: 04-14-2011, 01:58 PM
  2. Rotating Buffered Image distorts image
    By VortexSpin in forum Java 2D
    Replies: 1
    Last Post: 02-13-2011, 05:54 AM
  3. Replies: 1
    Last Post: 04-17-2009, 12:44 AM
  4. Replies: 14
    Last Post: 04-10-2009, 08:46 AM
  5. Replies: 0
    Last Post: 01-08-2008, 05:29 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •