• Post Reply Bookmark Topic Watch Topic
  • New Topic

Images

 
Tomm Schuman
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope this is the right forum to ask this.

I have a applet where i want to paint an image from a file.
If the file is gif it works but not bmp. Why??

First i initialize an Image object:


Then i get the image:


And last i draw it:


That wont paint anything but if I use the North.gif file I also have it will paint the image
 
nabi bux
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what type of object oBuf?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!