[4790] in java-interest
Re: More on the transparency issue
daemon@ATHENA.MIT.EDU (Vitaly Promislov)
Sun Jan 14 11:49:57 1996
Date: Sat, 13 Jan 96 16:57:33 ???
From: vitaly@diogen.asc.rssi.ru (Vitaly Promislov)
To: edmundd@compnews.co.uk
Cc: java-interest@java.sun.com
> From daemon@java.sun.com Sat Jan 13 03:18:31 1996
> Content-Length: 1541
>
> I've looked at the archives of this newsgroup to see if there was
> anyone who had already sussed this, but to limited avail.
>
> I am creating an Image and then drawing it onto another Image's
> Graphics. The first image is made up of text and I would like
> its background to be transparent so that the 2nd image shows
> through.
>
> I thought of doing this with the IndexColorModel but cannot find
> a way to set one up for an image created with applet.createImage(x,y).
> So then my thoughts turned to ImageFilters but also with limited
> success. The problem here is that the image updates very regularly
> and filtering the image with, say, an alpha filter, is just sooo slow
> and no use at all (I still didn't manage succcessfully to create a filter
> with an IndexColorModel - kept getting NullPointer exception).
>
> I know what I want must be possible as transparent GIF rendering
> works. However I suspect this is all tucked away from the API user's
> reach.
>
> If it cannot be done, I consider this a serious ommission in Java's
> image handling - one cannot use GIFs for everything.
>
> Replies CC'd to me by mail as well as posted would be appreciated
> as I need to get this one sorted ASAP.
>
> Thanks in anticipation,
>
> Edd.
>
> --
> Edd Dumbill - Software Engineer - PA Data Design - +44 1430 488224
> mailto:edmundd@padd.press.net - http://www.pa.press.net/people/edmundd
> and i like the way you're broken and i'll like you when you're old
> -
> This message was sent to the java-interest mailing list
> Info: send 'help' to java-interest-request@java.sun.com
>
I have did the Betta version of Transparent Applet and
It allows to do thing like this. Take a look to:
http://diogen.asc.rssi.ru/trans.html
(N.B now It is slow enough so please be patient if you are
using not powerfull enough computer)
______________________________________________________________________
Vitaly Promislov
Astro Space Center, Russia e-mail: vitaly@diogen.asc.rssi.ru
fax: 095 333-23-78
Phone: 333-23-12
URL: http://diogen.asc.rssi.ru/Vitaly.html
----------------------------------------------------------------------
These are my opinions only, and do not reflect anything
about my employer, Astro Space Center of Russina Academy of Science.
------------------------------------------------------------------------
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com