Hello,

I have a TYPE_INT_RGB BufferedImage.

I want to convert this to a TYPE_INT_ARGB BufferedImage.

The RGB image has a lot of black in it, I want the black areas of the RGB to
be transparent in the ARGB image.

I looks like I could call getPixel( ) or getPixels( ) on the RGB and do some
bit shifting on the RGB's ints to build a new int array for my ARGB image.

Is there a way to do this more directly, i.e. with less code?

Thanks,

Ted Hill

===========================================================================
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