W3C home > Mailing lists > Public > www-svg@w3.org > June 2018

converting SVG to PNG

From: vinayak datir <vinay_datir@yahoo.com>
Date: Tue, 12 Jun 2018 13:32:04 +0000 (UTC)
To: "www-svg@w3.org" <www-svg@w3.org>, "svg-developers@yahoogroups.com" <svg-developers@yahoogroups.com>
Message-ID: <211650762.3720551.1528810324024@mail.yahoo.com>
 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:14 UTC