Original Post
I''m developing an applet based game and have thus far been developing using Java 1.4.
I am generating a lot of images on the fly using Component.createImage(). I implement transparency by overwriting the background (using pixelGrabber) with all pixels not equal to 0. This works just fine and is fast enough using the 1.4 VM, however it is dog slow when running within a browser as I am limited to the old 1.1.8 VM.
I know I can use GIF''s for transparency, however, as I say, I am generating a lot of images on the fly (blitting numbers over sprites etc.). Is there a way to create a ''simulated gif'' within an applet ? i.e. use the indexed color space to create an image so that Java thinks that a normal gif with transparency is being used ?