[xep-support] Re: Output to image

Darren Munt darrenm at ardex.com.au
Thu Nov 7 13:49:11 PST 2013


I will check these out too. I have used Batik a long time ago with FOP (predecessor to RenderX on our platform). Thanks for the suggestions.

-----Original Message-----
From: xep-support-bounces at renderx.com [mailto:xep-support-bounces at renderx.com] On Behalf Of Jan Tošovský
Sent: Thursday, 7 November 2013 6:48 PM
To: RenderX Community Support List
Subject: [xep-support] Re: Output to image

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




_______________________________________________
(*) 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

!DSPAM:87,527c0ae59851087881481!




More information about the Xep-support mailing list