[1483] in java-interest
Re: images and applications
daemon@ATHENA.MIT.EDU (Jim Graham)
Tue Sep 5 20:57:09 1995
Date: Tue, 5 Sep 1995 15:13:50 -0700
From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
To: dmath@cs.wustl.edu, michael_p._aabram%andersen_wo@notes2.compuserve.com,
guy.elliott@ac.com
Cc: java-interest@java.Eng.Sun.COM
Hi Guy,
> I don't actually know if this works since I haven't had time to try it
> out but when I was doing some work with Images I noticed that you can
> call getDIBitMap to get the DIBitMap for the Image item. In the DIBitMap
> class there is a touch() function which flushes the ImageCache and causes
> the BitMap to be reloaded. You may want to try this out and I would be
> interested to know if it works, I was planning on using it a little further
> down the road in the application I am writing.
I think I should warn people that the DIBitmap class and all interfaces
which use it will disappear in Beta. They will be replaced by a more
general ImageProducer/ImageConsumer interface that will more generally
control the flow of image information from its source to any interested
parties.
DIBitmaps are the only way to prototype ways of creating images in the
Alpha APIs, but they are restricted to 8-bit colormapped images and have
absolutely no support for streaming image data (i.e. incrementally
rendering images as they are downloaded) so a new mechanism was developed
and will appear in the Beta APIs.
...jim
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com