xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edison Too" <edison...@yahoo.com.sg>
Subject RE: GVT problem with GaussianBlur
Date Wed, 11 Jul 2001 17:06:11 GMT
Hi, Thomas

Thanks for the help, I just figured this out too. The problem went away when
I use a BufferedImage. I guess, I'll just have to create an off-screen
buffer. :)

Best regards,

> -----Original Message-----
> From: Thomas E Deweese [mailto:thomas.deweese@kodak.com]
> ET> I suspect it is some kind of color space issue, but I couldn't
> ET> figure out what I did wrong. If anyone could see it, please let me
> ET> know. Thanks in advance. :)
>     Well, I don't know that this is a huge help, but I suspect your
> 'color space issue' is in fact a problem with the alpha channel.
> There are a number destination image types that don't handle alpha
> correctly in the JDK, we generally work around these by drawing to an
> image type we know works.
>     So I would suggest trying to have your Graphics node drawn to a
> BufferedImage.TYPE_INT_ARGB, then draw that to the given graphics.
> I hope this helps!

Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org

View raw message