I'm having some problems with my VolatileImages:

First, I load PNG files with transparent regions into BufferedImages using 
ImageIO and then draw them into VolatileImages. When these VolatileImages are 
drawn to the screen, they have white where they're supposed to be transparent. 
I've tried specifying both BITMASK and TRANSLUCENT transparencies when creating 
the VolatileImage and neither way worked. I also tried with the translaccel 
option set to true.

The other problem I have is that when I try to validate my images, they go 
completely white. The validation returns IMAGE_OK and contentsLost() returns 
false, so I'm rather confused about this.

It seems that Chet and Chris, a couple of Java2D experts, frequent this forum 
so I'm hoping that one of them finds this message and is able to help me out.

Thanks.
[Message sent by forum member 'dialup' (dialup)]

http://forums.java.net/jive/thread.jspa?messageID=147826

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to