Hi, On Nov 17, 2007 3:42 AM, Tonny Kohar <[EMAIL PROTECTED]> wrote: > Hi, > > On Nov 16, 2007 5:57 PM, Amanda Fernandez Redondo <[EMAIL PROTECTED]> 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. >
After adding the KEY_WIDTH and KEY_HEIGHT, also try to add t.addTranscodingHint(SVGAbstractTranscoder.KEY_AOI, rect); // KEY_AOI (Area of Interest) You also maybe like to try KEY_MAX_WIDTH and KEY_MAX_HEIGHT transcodings as well Cheers Tonny Kohar -- Sketsa SVG Editor imagine, design, create ... http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
