Loading GIF from a byte ?
Posted on 1998-01-04
How can my Applet convert a byte array in "gif89" format
to an Image object?
as you know, there is no "getImage(byte b)".. only
"getImage(URL u)" or "getImage(File f)"
Since it's an Applet, writing it as a file and loading it with getImage(file) won't work, and neither will trying to set up a "server" on the local machine that will return it to me as a url... (Applet security... arghhh....)
I know there are some classes to do that in sun.awt.image,
but those won't usually be available for me in normal java enabled browsers!
any known workaround for this problem??
even one that only works on MSIE and Netscape....
(I saw that many people are fighting this question in several newsgroups, it's a good example of BAD awt design!)