Title: RE: SVG to PNG

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:[EMAIL PROTECTED]]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to