<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Times New Roman","serif";}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.emailstyle18
        {mso-style-name:emailstyle18;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1534222872;
        mso-list-type:hybrid;
        mso-list-template-ids:-757047802 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>If the SVGs are on disk &#8230; and they contain the width/height information inside &#8230; here&#8217;s a little trick XSL .. makes a PDF that is only the SVG.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You could run all SVGs to PDF and then all PDFs to image &#8230; <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:stylesheet</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#0099CC'>xmlns:xsl</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;http://www.w3.org/1999/XSL/Transform&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> version</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;1.0&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br></span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'>&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#0099CC'>xmlns:svg</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;http://www.w3.org/2000/svg&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br></span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'>&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#0099CC'>xmlns:fo</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;http://www.w3.org/1999/XSL/Format&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp; <br>&nbsp;&nbsp;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:template</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> match</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;svg:svg&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:root&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:layout-master-set&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:simple-page-master</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> master-name</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;svgimage&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:attribute</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> name</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;page-width&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:value-of</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> select</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;@width&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>/&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;/xsl:attribute&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:attribute</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> name</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;page-height&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:value-of</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> select</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;@height&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>/&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;/xsl:attribute&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:region-body</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> margin</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;0cm&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>/&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:simple-page-master&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:layout-master-set&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:page-sequence</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> master-reference</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;svgimage&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:flow</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> flow-name</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;xsl-region-body&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:block</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> line-height</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;0&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;fo:instream-foreign-object&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;xsl:copy-of</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#F5844C'> select</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#FF8040'>=</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#993300'>&quot;.&quot;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>/&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:instream-foreign-object&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:block&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:flow&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:page-sequence&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#000096'>&lt;/fo:root&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;/xsl:template&gt;</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><br><br></span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#005AB4'>&lt;/xsl:stylesheet&gt;</span><span style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> xep-support-bounces@renderx.com [mailto:xep-support-bounces@renderx.com] <b>On Behalf Of </b>Darren Munt<br><b>Sent:</b> Wednesday, November 06, 2013 1:55 PM<br><b>To:</b> RenderX Community Support List<br><b>Subject:</b> [xep-support] Re: Output to image<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-AU style='color:#1F497D'>Thanks for the replies, it was as I suspected </span><span lang=EN-AU style='font-family:Wingdings;color:#1F497D'>J</span><span lang=EN-AU style='color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>In my particular case, we are producing PDFs which contain charts that are drawn using SVG which I embed in the XSL:FO. The client now wants a &#8216;chart pack&#8217; which would be a zip file containing only the images in a rasterized format so that they can be imported into other documents etc. Given that I already have RenderX in the workflow it would be a simple matter if it could output images. But I agree it&#8217;s not really the right tool for the job.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>I&#8217;ve found a product called Inkscape which is an SVG editor and it has a command line utility to rasterize SVG. So I guess I will use that. It&#8217;s part of a server process so I have to shell out to run it, which I&#8217;m not a fan of doing but looks like I have no choice.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cheers.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-AU style='font-size:12.0pt;font-family:"Times New Roman","serif"'>!DSPAM:87,527ababc9851479422970! <o:p></o:p></span></p></div></body></html>