xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boon, David" <david_b...@xelus.com>
Subject RE: SVG to PNG
Date Mon, 06 Aug 2001 13:46:23 GMT
Thierry, You may have addressed this already...

The tutorial refers to the KEY_WIDTH and KEY_HEIGHT as Integers, not Float.

David Boon
Xelus, Inc.
Phone: (716)419-3344
http://www.xelus.com


-----Original Message-----
From: Thierry Kormann [mailto:tkormann@ilog.fr]
Sent: Thursday, August 02, 2001 5:32 PM
To: Batik Users; Alexandre Djioev
Subject: Re: SVG to PNG


On Friday 27 July 2001 06:46, Alexandre Djioev wrote:
> Thierry,
>
> I tryed to do what you said, but all the time I get an exeption:
>  Exception 400 incompatible with
> org.apache.batik.transcoder.keys.LengthKey@ffb38
>
> I just add thouse two strings:
>
>
>               pngTranscoder.addTranscodingHint(PNGTranscoder.KEY_WIDTH,
> new Integer(width));
>               pngTranscoder.addTranscodingHint(PNGTranscoder.KEY_HEIGHT,
> new Integer(height));
>
> What am I doing wrong?

Both KEY_WIDTH and KEY_HEIGHT are Float not Integer.
For futher details, see the Transcoder tutorial:

http://xml.apache.org/batik/rasterizerTutorial.html

Thierry.

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

Mime
View raw message