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 Java Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java Image" Watch "Java Image" New topic

Java Image

Puneet Gupta

Joined: Aug 20, 2003
Posts: 9
Need your help on this.
I have a background image(Image object) and a canvas(canvas Object).
Is it possible that the background image stretch to the canvas size. I am able to retrive the canvas size by getWidth() & getHeight().

basically i want to load the image as background image so that the image width/height get resized to the canvas width/heingt.
The canvas size can also change as per the user screen or user requirement.

Puneet Gupta
I agree. Here's the link:
subject: Java Image
It's not a secret anymore!