SVG Images

Stimulsoft Reports.JS discussion
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

SVG Images

Post by BCS »

Is there a limitation on SVG images when exporting to PDF?

They do not appear, just blank. This I only tried inside the Designer, no javascript code options yet. SVG had to be considered because high end rendered images when exported to PDF were anti-aliased with sharp edges on text producing "jagged" text.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: SVG Images

Post by BCS »

No matter what I try I get this:

Uncaught TypeError: Cannot read property 'length' of null
at r.addImageInt (stimulsoft.reports.js:148)
at E.storeImageData (stimulsoft.reports.js:146)
at E.exportPdf1 (stimulsoft.reports.js:146)
at E.exportTo (stimulsoft.reports.js:146)
at e._tryFunction (stimulsoft.reports.js:146)
at e.callTry (stimulsoft.reports.js:131)
at e.try (stimulsoft.reports.js:131)
at E.exportToAsync (stimulsoft.reports.js:146)
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: SVG Images

Post by Lech Kulikowski »

Hello,

Please try to check the last release version. If the issue still present, please send us your report for analysis.

Thank you.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: SVG Images

Post by BCS »

I was using the latest. Here is the simplest example I can produce.

If the image doesn't maintain being embedded just add it from the files, the svg file.
SVG Example.zip
(1.7 MiB) Downloaded 223 times
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: SVG Images

Post by Lech Kulikowski »

Hello,

We need additional time to investigate the issue.

Thank you.
BCS
Posts: 83
Joined: Thu Nov 17, 2016 5:47 am

Re: SVG Images

Post by BCS »

Okay, we are in need of vector graphics support now and in the future if at all possible.
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: SVG Images

Post by Lech Kulikowski »

Hello,

Unfortunately, at the current moment, it is not supported in the preview and export to pdf due to the JavaScript limitations. There are tasks in our to-do list.
"SVG had to be considered because high end rendered images when exported to PDF were anti-aliased with sharp edges on text producing "jagged" text."
In any case, exported to pdf as bitmap. Please send us a sample report with test data which reproduces the issue for analysis.

Thank you.
BRNL
Posts: 4
Joined: Wed May 29, 2019 1:55 am

Re: SVG Images

Post by BRNL »

Hi, Any update one that one ? I have a strong need in high quality reports in order to see icons/texts the most clear possible. PDF/SVG high quality mandatory
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SVG Images

Post by HighAley »

Hello.

At this moment, all images are exported to PDF as bitmap.

Thank you.
BRNL
Posts: 4
Joined: Wed May 29, 2019 1:55 am

Re: SVG Images

Post by BRNL »

Hi,

just wondering if the svg is now supported correctly when printing exporting layout

thanks a lot,

Alex
Post Reply