Is there a way in Java to use files as the source of...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   amit_mendelson
Posted On:   Saturday, March 10, 2001 11:05 PM

Is there a way in Java to use files as the source of an Image object?
I have to work with image files (.gif, .jpeg, etc...) in Java (to allow transcoding the images), but none of the classes I found in java.awt.image supports initializing from a file

Re: Is there a way in Java to use files as the source of...

Posted By:   Reza_Rahman  
Posted On:   Friday, April 20, 2001 07:17 PM

Use Toolkit . getImage ( ) or Applet . getImage( ) to create an instance of an image from a file.
About | Sitemap | Contact