Closed blu2lz closed 10 years ago
It is a bigger problem. The Apache Batik library is used to transcode SVG to PNG and JPG. The last version is 1.7. In Java 7 the (already labelled deprecated for a very long time) com.sun.* packages are removed, in which the JPEGCodec is located. In Batik 1.7 it still uses this class resulting in a ClassNotFoundException in Java 7. The development version 1.8 of Batik already fixed this error by using ImageIO, which is recommended for exporting pixel graphics. Currently a SVG file is created every time and transcoded to the needed file type. Since this does not make any sense because you could just export it even easier directly through ImageIO, I will change it to ImageIO and only leave the SVG and PDF (FOP is used) creation.
It seems to be something wrong with the used library. I'll look into it and maybe change it.