Hi Sridhar,
Veerappan Sridhar wrote:
> Pls help me to figure out , how to convert and svg file into jpg
> file.
>
> My code is like this..but i got exception
What is the exception?
> JPEGTranscoder t = new JPEGTranscoder();
[...]
> File inputFile = new File("c:/defectfindratio.svg");
> TranscoderInput input = new TranscoderInput("c:/defectfindratio.svg");
One thing is that you should pass a URL into the
TranscoderInput, so you might use 'inputFile.toURL()'.
> File outputFile = new File("c:/out.jpg");
> FileWriter out = new FileWriter(outputFile,true);
> TranscoderOutput output = new TranscoderOutput(out);
> t.transcode(input, output);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]