Hi, I have created an svg file. Checked for its existence and then converted this svg file into jpg image. But I am getting the error mismatched tag : line 12367 column 6
Svg file is created but image is not being created. Please provide me with a workaround or solution to this problem. The source code for testing the existence of the file and then converting it into jpg image is given below: <% File f1 = new File("D:/w042/approot/svgWebApp/arvind.svg"); if (f1.exists()) { %> <jsp:include page="arvind.svg" flush="true" /> <% String svgURI = new File("D:/w042/approot/svgWebApp/arvind.svg").toURL().toString(); System.out.println("great "+svgURI); org.apache.batik.transcoder.image.JPEGTranscoder t = new org.apache.batik.transcoder.image.JPEGTranscoder(); t.addTranscodingHint(JPEGTranscoder.KEY_QUALITY, new Float(.8)); TranscoderInput input = new TranscoderInput(svgURI); OutputStream ostream = new FileOutputStream("D:/w042/approot/svgWebApp/arvind.jpg"); TranscoderOutput output = new TranscoderOutput(ostream); t.transcode(input, output); ostream.flush(); ostream.close(); } %> _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]