I belief GIF only supports transparent (not translucent) images. However, you can always set the AlphaComposite on the destination Graphics object to be translucent before you call drawImage() with your sprite.
Chet.
Flavius Alecu wrote:
how can I use sprites in gif format and have them partially transparent?
=========================================================================== 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".
=========================================================================== 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".
