File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Image Rotation

sanj duke
Greenhorn

Joined: Jan 14, 2002
Posts: 7
Hello,
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
Greenhorn

Joined: Apr 08, 2002
Posts: 17
Hi,
For nokia phones you can do it. Check nokia extention for J2ME at forum.nokia.com.You 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
Cheers


Geek*-
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
"Ercan",
PROPER NAMES ARE NOW REQUIRED
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 http://www.javaranch.com/name.jsp
Topics posted by people with invalid names will be closed. Please register with a new name and this topic will be reopened.

--Mark
 
wood burning stoves
 
subject: Image Rotation