xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tonny Kohar" <tonny.ko...@gmail.com>
Subject Re: Transcoding images: they result cutted
Date Fri, 16 Nov 2007 20:42:19 GMT

On Nov 16, 2007 5:57 PM, Amanda Fernandez Redondo <jaipi83@gmail.com> wrote:
> Hi, I already change de hints:
> t.addTranscodingHint (JPEGTranscoder.KEY_WIDTH, new Float
> (canvas.getWidth()));
>             t.addTranscodingHint (JPEGTranscoder.KEY_HEIGHT, new Float
> (canvas.getHeight ()));

>From quick glance, your code seem correct. Maybe you can check the
value of canvas.getWidth() and getHeight using System.out.prinln() or
whatever, to make sure it is return the corrects size.

Tonny Kohar
Sketsa SVG Editor
imagine, design, create ...

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

View raw message