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 Java Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java Image" Watch "Java Image" New topic
Author

Java Image

Puneet Gupta
Greenhorn

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.

regards,
Puneet Gupta
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Image
 
Similar Threads
Embossing a sprite on an image background
how to get Image from Canvas
How does canvas, an exteded JPanel obj have methods getSize(), createImage(size.width, size.height)?
How to move Background image on resize of window
Image resizing