[xep-support] Re: Output to image

From: Darren Munt <darrenm@ardex.com.au>
Date: Thu Nov 07 2013 - 13:49:11 PST

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@renderx.com [mailto:xep-support-bounces@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!

_______________________________________________
(*) 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 Thu Nov 7 13:49:30 2013

This archive was generated by hypermail 2.1.8 : Thu Nov 07 2013 - 13:49:41 PST