Thank you very much, this just fixed the problem: before transcoding, I added this code:
SVGDocument svgDoc = canvas.getSVGDocument(); Element svg = svgDoc.getDocumentElement(); svg.setAttributeNS(null, "width", ""+canvas.getWidth()); svg.setAttributeNS(null, "height", ""+canvas.getHeight()); Thanks, thanks, thanks -- Amanda Fernández Redondo
