Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

BufferedImage Transparency question

843806Feb 22 2008 — edited Feb 23 2008
I'm trying to make a BufferedImage transparent (the background of an image).
Apparently I need type INT_ARGB or something like that. But I get my bitmap from a file off my hard disk, so once its loaded, is there a way to convert to to int_argb? And whats the best way to set transparency for the image? Is there a way I can specify an RGB color of the bufferedimage and say "make that transparent"? And then if I draw this image onto another BufferedImage, then draw the last bufferedimage, will my transparency carry through, or do I have to set the transparency at the highest level?

Any help would be appreciated.
-haikka
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2008
Added on Feb 22 2008
5 comments
362 views