-
BMP/GIF displaying
I have a Java applet that diplays text it recieves from a distant server.Now i want to add GIF/BMP's to the packets and display them.
So the problem is: What is the easiest way to load a BMP/GIF from a buffer (not a URL) and how do i display it?
David Braunstein
Programmer ,WebDiving-technologies
-
Re: BMP/GIF displaying
I don't think there is direct support for BMPs in Java.
But for GIFs, if you get data of a GIF "exactly same" as a byte array, you might be able to create Image object out of it. And use it in your applet just like other Image objects.
- UnicMan
http://members.tripod.com/unicman
-
Re: BMP/GIF displaying
thx for answering,but ...
The answer describes about, what i thought. Is there any more information you could give me ?
David Braunstein
Programmer ,WebDiving-technologies