FreeHEP is perfect, Thank you, it is working.

Unexpectedly I  got  problem converting svg into png.

I am using batik as described at

http://thinktibits.blogspot.ca/2012/12/Batik-Convert-SVG-PNG-Java-Program-Example.html


All things are OK as I am running my code from my NetBeens on Windows.

As I moved my jar with dependencies on on Linux server and run my jar  from
the command line there , I got problems due to batik seems to refer somehow
the deprecated com/sun/image/codec/jpeg

Namely, I got 

Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/image/codec/jpeg/TruncatedFileException

on my line 

  // Step-4: Convert and Write output
            my_converter.transcode(input_svg_image, output_png_image);


Some people posted for similar problem to add the following attribute for
compilation:
 <compilerArgument>-XDignore.symbol.file</compilerArgument>

I tried but it did not  not help.


Any suggestions?



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/ImageRender-for-EMF-convert-PPTX-slides-include-EMF-images-into-PNG-tp5717773p5717778.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to