Hello,
I have not a correct view in a jpeg file from a svg
file.
When I do the exemple script in
public static void main(String []
args) throws Exception
{ args = new String[2]; args[0] = "D:\\Partage\\imagesvgpetite\\svg\\"; args[1] = "une_fleche.svg"; String fileName = Test.getFileName(args[0], args[1]); // create a JPEG transcoder JPEGTranscoder t = new JPEGTranscoder(); // set the transcoding hints t.addTranscodingHint(JPEGTranscoder.KEY_QUALITY, new Float(1)); // create the transcoder input String svgURI = new File(fileName).toURL().toString(); TranscoderInput input = new TranscoderInput(svgURI); // create the transcoder output OutputStream ostream = new FileOutputStream(args[0] + "out.jpg"); TranscoderOutput output = new TranscoderOutput(ostream); // save the image t.transcode(input, output); // flush and close the stream then exit ostream.flush(); ostream.close(); System.exit(0); } the "end of arrow" are not viewed.
I'd like to be helped !
Thank you.
|
<<attachment: une_fleche.svg>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]