log.debug("resultFile: "+resultFile.getAbsolutePath());
log.debug("svgFile P: "+svgFile.getPath());
log.debug("resultFile P: "+resultFile.getPath());
FileWriter out = new FileWriter(svgFile);
svgGenerator.stream(out, useCSS);
HashMap<String,Object> returnError = GenerateImage.getInstance().convertImageByTypeAndSize(
svgFile.getAbsolutePath(), resultFile.getAbsolutePath(),
pBean.getWidth(), pBean.getHeight());