wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes How to rotate Image using java2D API's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to rotate Image using java2D API Watch "How to rotate Image using java2D API New topic

How to rotate Image using java2D API's

Kedar Nirokhekar

Joined: Dec 10, 2001
Posts: 11
hi all,
I know the image can be rotated using java2d api's.I could able to rotate the image using AffineTransform class. But it
clips the image at corneres on rotation with multiples
of 45 degrees angle. I want to know how should I go about it.If any body can help me out.please..
Thanking in advance

Michael Szul
Ranch Hand

Joined: Sep 18, 2001
Posts: 57
I don't know exactly what you're looking for, because I don't deal much with Java 2D, but have you tried looking at the source code for the Molecule applet that Sun includes with the demo files in the SDK?
I agree. Here's the link: http://aspose.com/file-tools
subject: How to rotate Image using java2D API's
Similar Threads
Convert HTML to gif URGENT.
how to redirect to a jpg file from spring controller
print control
Rotating an image