converting SVG to PNG

 Hi All,
 
                I am using batik-rasterizer-1.9.jar to convert the SVG into PNG. Input SVG has the CSS embedded using style tag.
 
                PNG is getting generated but  styles are not getting picked up.
 
                I have done two try outs
 
  
 
Command I tried are –
 
                                                               
 
1>    java -jar batik-rasterizer-1.9.jar d:\input.svg
 
  
 
2>    In second tryout I have separate out the css and SVG and run below command –
 
  
 
java -jar batik-rasterizer-1.9.jar d:\OnlySVG.svg -cssUser style.css
 
  
 
But output is same. Getting the PNG without the styles.
 
  
 
Can anyone throw pointer on this issue?
 
  
 
Thanks,
 
Vinayak.
 
  
   

Received on Tuesday, 12 June 2018 14:57:04 UTC