Im using the batik java API to convert svg to png. I need to be able to set the output resolution of the png images. I have searched all over the javadoc but not found out how to do it.
My current javacode:
String svg = "...svg data ...";
PNGTranscoder t = new PNGTranscoder();
TranscoderInput input = new TranscoderInput( new StringReader(svg) );
FileOutputStream fout = new FileOutputStream("tempname");
TranscoderOutput output = new TranscoderOutput(fout);
t.transcode(input, output);
fout.close();
Best regards,
Daniel
View this message in context: set resolution in code
Sent from the Batik - Users forum at Nabble.com.
- set resolution in code DanMan
- Re: set resolution in code Tonny Kohar
