aspose file tools
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 The Software Craftsman this week in the Agile 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..
It is sorta covered in the JavaRanch Style Guide.
subject: Image scaling in J2ME