aspose file tools*
The moose likes Beginning Java and the fly likes Image class in Java APIs 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 » Java » Beginning Java
Bookmark "Image class in Java APIs" Watch "Image class in Java APIs" New topic
Author

Image class in Java APIs

Gupta Nitin
Greenhorn

Joined: Feb 05, 2007
Posts: 7
How to you give the file name to Image class? From the APIs i could not see any constructor of BufferedImage class taking a filename... Is there any other class to handle images in Java? Please help
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
The javax.imageio.ImageIO class is the standard way of reading image files into memory. Its "read" methods can create BufferedImages from files.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Image class in Java APIs
 
Similar Threads
JPEG-FILE WIDTH
How can I resize an image from database table and show it
Help - watermark image using servlet
reading image in a document
Gray Image data manipulation with BufferedImage