kendo-angular icon indicating copy to clipboard operation
kendo-angular copied to clipboard

imageResolution not regarded when calling export() method of PDFExportComponent

Open SamTheWizard opened this issue 4 years ago • 1 comments

Describe the bug I have the following problem: I have a pdf export component with some inline SVGs which i want to be included in the export. Per default the svgs in the exportet PDF are really blurry.

Now I've seen that there is an input called imageResolution which is used to specify the resolution for exported SVGs and should solve my Problem.

Now if I set this input and call the saveAs() method of the PDFExportComponent directly, this works perfectly fine and the SVGs are exportet in the desired resolution.

But because I need to modify some things before exporting I call the export() method first, and then later definitely export with the exportPDF method of the drawing library.

If I do this, the SVGs are still blurry no matter what I set as imageResolution.

To Reproduce https://stackblitz.com/edit/angular-ojh8yl?file=app/app.component.ts

Expected behavior The imageResolution should also be applied if the export() method is called

SamTheWizard avatar Oct 04 '21 07:10 SamTheWizard

Hi there

I am facing the same problem. Is there a fix planed for one of the next releases? Or do you have any workaround?

Kind regards

jonasaebersold avatar Dec 02 '21 09:12 jonasaebersold