Article View: borland.public.jbuilder.java.api
Article #263Transparent images
From: loquak
Date: Sun, 21 Mar 2004 16:51
Date: Sun, 21 Mar 2004 16:51
8 lines
1192 bytes
1192 bytes
How on earth is it possible to draw transparent images in Java? I have an Image object, load the image from a file and draw it on a Graphics object. The question is: I want all black pixels to be transparent when drawn on another image. This is getting frustrating because after a day's efforts the backgroup is still black... Help please!
Technical Details
Message-ID:
<405dc828$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,589da8e0e1287afb,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2004-03-21 09:00:15 PST From: "loquak" <liam_parc@hotmail.com> Newsgroups: borland.public.jbuilder.java.api Subject: Transparent images Date: Sun, 21 Mar 2004 18:51:54 +0200 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 130.234.244.85 Message-ID: <405dc828$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1079887912 130.234.244.85 (21 Mar 2004 08:51:52 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail