Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3994
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> |
| Subject | Re: Anti-aliasing in imag |
| Message-ID | <g82ltr$it5$1@registered.motzarella.org> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <48a4c7b8$0$4030$b9f67a60@news.newsdemon.com> |
| References | <48a4c7b8$0$4030$b9f67a60@news.newsdemon.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 34 |
| Date | Wed, 27 Apr 2011 15:48:07 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303919287 96.60.20.240 (Wed, 27 Apr 2011 10:48:07 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:48:07 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3994 |
Show key headers only | View raw
To: comp.lang.java.gui On 15/08/2008 02:03, Knute Johnson allegedly wrote: > Daniele Futtorovic wrote: >> On 14/08/2008 17:20, Knute Johnson allegedly wrote: >>> Well there's a truth that it took me a while to learn and that is >>> that you can't draw alpha into an image. >> >> Must be jolly interesting if it's something that took you a while to >> learn. So... what does that sentence mean? >> > > If you have an image, you basically can't draw on it (with the usual > Graphics(2D) methods) and reduce the alpha value of the pixels in the > image. Say you have a pixel that is white with an alpha of 255. There > is no way to draw on the image to change that pixel's alpha to another > value. I thought that was what the AlphaComposites were for... > Unless of course you use an AlphaComposite with a value of > Clear. That will change it to a black pixel with an alpha of 0. ... ah. To get this right, are you positively sure there is no way? Not even playing with XOR paint? -- DF. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread
Re: Anti-aliasing in imag "Daniele Futtorovic" <daniele.futtorovic@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
csiph-web