Click to See Complete Forum and Search --> : BMP/GIF displaying


david br
September 26th, 2000, 11:43 AM
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

unicman
October 1st, 2000, 04:24 PM
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

david br
October 2nd, 2000, 03:06 AM
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