Jump to content
We've recently updated our Privacy Statement, available here ×

Issue in Embedding SVG file in Ireports PDF


vijaypr.chak

Recommended Posts

Hi,

I m using IReports Designer 5.6.0 and trying to generate a PDF file by embedding a SVG image file. 

Have given the following line as image expression in jrxml:

<imageExpression><![CDATA[net.sf.jasperreports.renderers.BatikRenderer.getInstance(new java.io.File("D:\Newimage.svg"))]]></imageExpression>

But the PDF generated is not embedding the image. I have tried various options with the above expression.

Please help me out.

Regards

Vijay

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Have you tried putting svg in html component or in custom visualization component?

I just modified html exporter to use svg and I'm able to save/print the displayed report from the web browser. I'm planning to develop d3js components based on custom visualization component.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...