xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thierry Kormann <tkorm...@ilog.fr>
Subject Re: SVG to PNG
Date Thu, 02 Aug 2001 21:32:09 GMT
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