Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelisa Fischer   on Aug 19 In Java Category.

  
Question Answered By: Albert Ellis   on Aug 19

As far as I know, getImage() is supporting certain format only.
(Read the API). If you want to display the BMP format, I think
you need to get additional codec classes. (http://java.sun.
com/products/java-media/jai/iio.html)

Try to change the bmp file to any JPG. It sure will work.

Share: 

 
 
Didn't find what you were looking for? Find more on Loading Images and Displaying them in NetBeans Or get search suggestion and latest updates.


Tagged: