File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Image Rotation

 
sanj duke
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Herschberg
Sheriff
Posts: 6037
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic