[xep-support] Re: Output to image

From: Jan To¹ovskı <j.tosovsky@gmc.net>
Date: Wed Nov 06 2013 - 23:47:33 PST

My original message has been trimmed so I am sending it again in plain text:

Alternatively you can use:
1. Batik rasterizer - http://xmlgraphics.apache.org/batik/tools/rasterizer.html
java -jar batik-rasterizer.jar -d output -m image/png *.svg
(converts all svg images in the folder into the output folder)

2. PhantomJS - http://phantomjs.org/ - it contains rasterize.js script for this
phantomjs.exe rasterize.js my.svg my.png

PhantomJS uses the WebKit engine under the hood so it can support all SVG features you can display in the browser. I've recently switched to it as Batik could not process advanced mask and filters in my files.

Jan

!DSPAM:87,527b45999859510912731!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Nov 6 23:47:41 2013

This archive was generated by hypermail 2.1.8 : Wed Nov 06 2013 - 23:48:05 PST