A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Swing / AWT / SWT
Java rotating image (AffineTransform) image getting cut off at parts?
Joined: Jun 03, 2011
Jul 02, 2011 11:51:37
I am trying to rotate an image using the affinetransform awt.geom tool, however if any part is rotated, the parts that should be shown above, or to the left of the previous un-rotated image are not shown. Heres two images describing my problem:
Picture 1, before the rotation. All is well:
Next, picture 2. AFTER the rotation. The top is cut off:
The same that happened to the top in picture 2 would happen if I were to rotate it to where part of the image would stick out to the left.
I agree. Here's the link:
subject: Java rotating image (AffineTransform) image getting cut off at parts?
image file rotation
AffineTransform inaccuracy or developer innaccuracy
After rotating couldnt view
Rotating a buffered image
How to turn the text vertical in graphics?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014