File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Image scaling in J2ME" Watch "Image scaling in J2ME" New topic
Author

Image scaling in J2ME

Rita Smith
Greenhorn

Joined: Mar 29, 2005
Posts: 10
Hi,
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.

Rita
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