Sunil Puri
From: Thomas DeWeese <[EMAIL PROTECTED]>
Reply-To: "Batik Users" <[EMAIL PROTECTED]>
To: Batik Users <[EMAIL PROTECTED]>
Subject: Re: KEY_FORCE_TRANSPARENT_WHITE for transparency
Date: Wed, 22 Oct 2003 16:25:48 -0400
MIME-Version: 1.0
Received: from mail.apache.org ([208.185.179.12]) by mc11-f12.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Wed, 22 Oct 2003 13:34:33 -0700
Received: (qmail 96526 invoked by uid 500); 22 Oct 2003 20:25:43 -0000
Received: (qmail 96513 invoked from network); 22 Oct 2003 20:25:43 -0000
Received: from unknown (HELO smtp1.kodak.com) (192.232.121.200) by daedalus.apache.org with SMTP; 22 Oct 2003 20:25:43 -0000
Received: from mailgate-x.kodak.com (mailgate-x.kodak.com [192.232.121.211])by smtp1.kodak.com (8.11.3/8.11.1) with SMTP id h9MKPmX13434for <[EMAIL PROTECTED]>; Wed, 22 Oct 2003 16:25:49 -0400 (EDT)
Received: from nodnsquery(150.220.10.55) by mailgate-x.kodak.com via csmap id 31987; Wed, 22 Oct 2003 16:25:48 -0400 (EDT)
Received: from Kodak.com ([150.220.57.115]) by corpmail.kodak.com (Post.Office MTA v3.5.3 release 223 ID# 592-58678U700L2S100V35) with ESMTP id com for <[EMAIL PROTECTED]>; Wed, 22 Oct 2003 16:25:48 -0400
X-Message-Info: JGTYoYF78jFUsfG8A6UZrM6yY3koVQEy
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Organization: Eastman Kodak Company
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916
X-Accept-Language: en-us, en
References: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Oct 2003 20:34:35.0088 (UTC) FILETIME=[E7CF2D00:01C398DB]
Sunil Puri wrote:
t.addTranscodingHint(PNGTranscoder.KEY_BACKGROUND_COLOR, Color.white);
t.addTranscodingHint(PNGTranscoder.KEY_FORCE_TRANSPARENT_WHITE, Boolean.TRUE);
I have tried using these two statements to make a Transparent PNG image from SVG, but it doesn't seem to work even if you change the values from TRUE to FALSE or use some other color.
I will appreciate if anyone could help me to produce Transparent image.
The Default behavior is to produce a transparent image. If you aren't seeing this, check if the SVG content draws something that fills the whole viewport.
By specifying a background color you are telling it to make the background
opaque white. The transparent white hint indicates that it should use a
'hack' to make the background 'white' for viewers that don't support transparency,
but still preserve transparency for viewers that do (at the cost of some
'whitening' of semi-transparent parts).
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
See when your friends are online with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]