• Post Reply Bookmark Topic Watch Topic
  • New Topic

Image scaling in J2ME

 
Rita Smith
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rita,
Check this out.

- Ramy..
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!