09-13-2012 07:58 AM
I have rotated an image but thai image loosing its quality.
How to rotate an image in any direction without loosing image quality.
Please help me
Thanks & Regards ,
09-13-2012 09:45 AM
Or more accurately, when you rotate an image and then map it back into horizontal and vertical pixels, with the exception of certain angles (80, 180, 270) each pixel becomes an approximation based on the pixels that would be be rotated to overlap that point.
You can see the same sort of effect with scaling, and there is a good explanation of how that introduces artifacts here:
I can't find anything similar for rotation sorry.
Anyway, perhaps your rotation algorithm could be improved. Are you using this?
I suspect that there is other Java code that might help, but I have never looked. So do an internet search and see if you can find a BlackBerry or J2ME Library that might be better.