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