SVG, emf or wmf graphics into pdf

Stimulsoft Reports.JS discussion
Post Reply
Alexandra
Posts: 12
Joined: Tue Feb 02, 2021 5:31 pm

SVG, emf or wmf graphics into pdf

Post by Alexandra »

Hello,

I read in older posts, "We are sorry, it's impossible to export SVG images to PDF in node.js." and "It is not available in node.js and we don't have plans to add it in the nearest feature.".
This was in May 202.

I was wondering if there has been a change?
Might there be in the near future to export svg, emf or wmf images to pdf?

It is really required.

Thank you very much for your reply.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: SVG, emf or wmf graphics into pdf

Post by Max Shamanov »

Hello,

In recent versions we have made some improvements and SVG images can now be exported to PDF.
Please click on the following link:
https://github.com/stimulsoft/Samples-R ... 20to%20PDF

Thank you.
AndreasASSD
Posts: 1
Joined: Sun Nov 19, 2023 1:20 pm

Re: SVG, emf or wmf graphics into pdf

Post by AndreasASSD »

Hi Max,

I tested it and it works. However the result is very poor image quality - much worse than JPG. It seems that the SVG is converted to a raster bitmap graphic for the PDF and not embedded as SVG.

Thanks, Andreas
Alexandra
Posts: 12
Joined: Tue Feb 02, 2021 5:31 pm

Re: SVG, emf or wmf graphics into pdf

Post by Alexandra »

Hello Max,

Thank you for your reply.
We will take a look at it.

I really appreciate it.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: SVG, emf or wmf graphics into pdf

Post by Max Shamanov »

Hello.

We are always glad to help you.

Thank you.
Post Reply