Is it possible to skew or distort an Image object in Java? I 'pull' one side of an image out, making it seem closer to me. (LIke 3D).
Any suggestions?
Is it possible to skew or distort an Image object in Java? I 'pull' one side of an image out, making it seem closer to me. (LIke 3D).
Any suggestions?
You can also do this with JavaFX.
The following example uses PerspectiveTransform and a bit of rotation on the BufferedImage.
It turns this image
into this
Yes. Lots of ways but I would start with the Advanced Imaging API. It provides a ton of advanced imaging functionality.
But just to do the type of transform that you're talking about you might just need an Affine Transform. Sample results here for the previous link.