• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I use BMP files for Icon  RSS feed

 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to use BMP file as icon
my code

my BMP file in classpath. In this way I am able to use gif files.
Thanks for your help
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java only has built in support for gif, jpeg, and (recently) png image file types... to load and sace image data in other forms you'll either have to use JAI or some other third party libraries.

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!