I need to generate an image compound by a JPG as background and a GIF (with transparent background) over it.

I’ve done this, but can’t save it as JPG due to the Alpha channel.

I’ve read lots of messages from people having the same problem, but their solutions seem to not to work with me.

Maybe I’m doing something wrong.

Suppose at this point I have a BufferedImage of type BufferedImage.TYPE_ARGB;

Can anyone give me the full code for a method that takes this BufferedImage and returns me another BufferedImage, but with type BufferedImage.TYPE_RGB ?

 

Thanks in advance,

 

Alejandro Gómez

 

Reply via email to