File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Image scaling in J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Image scaling in J2ME" Watch "Image scaling in J2ME" New topic

Image scaling in J2ME

Rita Smith

Joined: Mar 29, 2005
Posts: 10
Has anyone scaled images in J2ME? I have some images downloaded from the internet @ runtime. I would like to scale the images such that they occupy only a certain width and height on the screen. Now, if the downloaded image is bigger than the screen size, how do I scale it to the required size?

Any pointers to this would be appreciated.

Ramender Mall
Ranch Hand

Joined: Sep 08, 2005
Posts: 311
Hi Rita,
Check this out.

- Ramy..
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Image scaling in J2ME
It's not a secret anymore!