Re: Erasing a line
- From: "Kenneth P. Turvey" <kt-usenet@xxxxxxxxxxxxxxxxxx>
- Date: 17 May 2008 00:58:48 GMT
On Sat, 17 May 2008 00:43:42 +0000, Kenneth P. Turvey wrote:
On Sat, 17 May 2008 00:43:42 +0000, I wrote:
I just had a guess occur to me. Maybe at some point the image is being
copied to a BufferedImage with only BIT_MASK transparency. Would that
result in the behavior I've described? That is no anti-aliasing in the
transparent region, but perfect anti-aliasing outside it?
Problem solved. This was it. I did a search through the code for
Tranparency and found a Transparency.BITMASK in a super class. So when I
called this code, the transparency was flattened to either a 0 or a 1.
The anti-aliasing over the non-transparent areas was still OK, but where
there was transparency it was destroyed.
Thanks for looking at this for me.
--
Kenneth P. Turvey <kt-usenet@xxxxxxxxxxxxxxxxxx>
.
- References:
- Erasing a line
- From: Kenneth P. Turvey
- Re: Erasing a line
- From: Knute Johnson
- Re: Erasing a line
- From: Kenneth P. Turvey
- Erasing a line
- Prev by Date: Re: Erasing a line
- Next by Date: Re: Problems with JTabbedPane
- Previous by thread: Re: Erasing a line
- Index(es):