Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #3982

Re: Anti-aliasing in imag

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-xxxfer.readnews.com!textspool1.readnews.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail
From "Peter Duniho" <peter.duniho@THRWHITE.remove-dii-this>
Subject Re: Anti-aliasing in imag
Message-ID <op.ufu3mmsn8jd0ej@petes-computer.local> (permalink)
X-Comment-To comp.lang.java.gui,comp.l
Newsgroups comp.lang.java.gui
In-Reply-To <48a3826d$0$2239$ec3e2dad@news.usenetmonster.com><op.ufuticmp8jd0ej@pet
References <48a3826d$0$2239$ec3e2dad@news.usenetmonster.com><op.ufuticmp8jd0ej@pet
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92]
Lines 38
Date Wed, 27 Apr 2011 15:48:03 GMT
NNTP-Posting-Host 96.60.20.240
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1303919283 96.60.20.240 (Wed, 27 Apr 2011 10:48:03 CDT)
NNTP-Posting-Date Wed, 27 Apr 2011 10:48:03 CDT
Organization TDS.net
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3982

Show key headers only | View raw


  To: comp.lang.java.gui,comp.l
On Wed, 13 Aug 2008 20:00:32 -0700, Kenneth P. Turvey  
<kt-usenet@squeakydolphin.com> wrote:

> [...]
> After this the image still doesn't look anti-aliased.  It seems like the
> clipping region is either on or off.
>
> Do you see anything in the code that might be the problem?  Any other
> suggestions?

Nope.  Your code looks fine to me (not sure why you want ABGR instead of  
ARGB, but either works fine on my computer).

Using basically the same code here, it generates an anti-aliased circular  
subset of the original image, just as intended.

Java 5, Mac OS 10.4.11

My best guess: you are either using some Java implementation that has poor  
or non-existent anti-aliasing support, or you're just mistaken about  
whether the results are anti-aliased or not.  I admit, by default I'd  
assume that neither is the case, but given that the code is simple and it  
works fine here, I've got to assume one or the other is actually the case  
after all.  :)

If you're not using an up-to-date, mainstream Java implementation, then  
you should try the same code on one that is.  If you already are (or if  
doing so produces the same results), then maybe you can post an example  
image that's been processed by your code somewhere that we can download  
and look at it.

Pete

---
 * 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Anti-aliasing in image cl "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Peter Duniho" <peter.duniho@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
    Re: Anti-aliasing in imag "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Peter Duniho" <peter.duniho@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Peter Duniho" <peter.duniho@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Kenneth P. Turvey" <kenneth.p..turvey@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
  Re: Anti-aliasing in imag "Peter Duniho" <peter.duniho@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
    Re: Anti-aliasing in imag "John B. Matthews" <john.b..matthews@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000

csiph-web