File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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: 42955
The javax.imageio.ImageIO class is the standard way of reading image files into memory. Its "read" methods can create BufferedImages from files.
Consider Paul's rocket mass heater.
subject: Image class in Java APIs