How to Fit an Image to the Screen Size

18 07 2008

If we want to use an image as background in a J2ME application, we have the problem that we must to have one image for each different size screen. Another approach is to have only one image and fit it to all screen sizes.

In this article I will describe an algorithm to do that.

Read the rest of this entry »