optimization - Image rotation algorithm -


I am looking for an algorithm that will rotate an image through some degree. image image (image image, int degree)

(Image instances can be replaced by int [] with each pixel RGB values, My problem is that I have a JavaME MIDP 2.0 project so I have to use code that can run on JVM before version 1.5. Can anyone help me with it?

Edit: Forgot to mention that I do not have the SVG API available I need this method to rotate with more than 90 arbitrary degrees - 180 - 270

In addition to this, any Java. Night * package is not available on MIDP 2.0

< P>

The image I found on the internet is one of the best pages describing rotation algorithms, Dan Bloomberg's excellent Leptoneca library is connected to the library itself. Written and will not help you, its page on image rotation algorithm:

Definitely worth reading, you most likely want the rotation by area mapping Would like to apply something like algorithm that describes it in the second part of the page


Comments