Using SVG file as a logo with DOCX From Dynamic Template smart service

Certified Senior Developer

As per the subject, I have tried to use a SVG file as the logo parameter to act as the input for "Image" field in DOCX From Dynamic Template smart service, but am facing an error when the node runs. The error is reflected as such:

freemarker.template.TemplateModelException: Method "public java.lang.String fr.opensagres.xdocreport.document.images.AbstractImageRegistry.getWidth(fr.opensagres.xdocreport.document.images.ImageProviderInfo,java.lang.String) throws java.io.IOException" threw an exception when invoked on fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry object "fr.opensagres.xdocreport.document.docx.images.DocxImageRegistry@92d8c46". See cause exception.

The failing instruction:
==> ${___ImageRegistry.getWidth(___imageI... [in template "fr.opensagres.xdocreport.document.docx.DocxReport@59d76500!word/header2.xml" at line 4, column 1343]

JPG and PNG files work fine. Is this a technical limitation of using this smart service and are there any other options for generating documents based on a word document template?

  Discussion posts and replies are publicly visible