This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Image Rotation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Image Rotation" Watch "Image Rotation" New topic

Image Rotation

sanj duke

Joined: Jan 14, 2002
Posts: 7
I'm having difficulty in trying to rotate an image (e.g. 45 degrees clockwise).
Can anyone please suggest to me a way to rotate an image in a midlet for J2ME.
Many Thanks
Ercan Erciyes

Joined: Apr 08, 2002
Posts: 17
For nokia phones you can do it. Check nokia extention for J2ME at can download it for free.
By using the DirectGraphics method you can convert lcdui Graphics to Nokia DirectGraphics object.Then you can define the constant like ROTATE_45 = (ROTATE_90 / 2) for drawing images..
Good luck

Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
Please look carefully at official naming policy at javaranch & reregister yourself with proper first & last name, with a space between them. Please adhere to official naming policy & help maintain the decorum of the forum. The naming policy can be found at
Topics posted by people with invalid names will be closed. Please register with a new name and this topic will be reopened.

Have you checked out Aspose?
subject: Image Rotation
It's not a secret anymore!