Discussion:
[svg-developers] converting SVG to PNG
vinayak datir vinay_datir@yahoo.com [svg-developers]
2018-06-12 13:45:32 UTC
Permalink
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...

 
Joe Doll Joe.Doll@IFR-Everywhere.com [svg-developers]
2018-07-06 09:44:38 UTC
Permalink
When I did this, I had to use Inkscape.

Loading...