my dog learned polymorphism
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Image class in Java APIs" Watch "Image class in Java APIs" New topic

Image class in Java APIs

Gupta Nitin

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

Joined: Mar 22, 2005
Posts: 42965
The javax.imageio.ImageIO class is the standard way of reading image files into memory. Its "read" methods can create BufferedImages from files.
I agree. Here's the link:
subject: Image class in Java APIs
It's not a secret anymore!