Working on a recent project involving the visualization of images from a server on mobile devices' (small) screens, I got in touch with a serious problem: LWUIT has a fast, but very poor scaling algorithm. The quality of the images scaled to be smaller is very poor, as much as texts and numbers cannot be read on the screen. Because I had to solve the problem I looked for a solution and I found the library J2ME Army Knife (http://www.j2mearmyknife.com/) that suppiles several utility classes to manage images.The really interesting classes that helped me to solve my problem was:
ImageTransformationResize
and
ImageTransformationSmooth
The following function resize an image to a given width ...
[More]