jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

jsPDF not rendering highcharts image on Edge browser(Above 20.0 version)

Open codeReadyy opened this issue 9 years ago • 5 comments

I am using the latest version of jsPDF and I am trying to download the highcharts with some html content. My code works fine for all browser except "Microsoft Edge above version 20.0" . Here is the working Plunker. I have googled similar questions but none of them talk about edge browser, additionally, I have tried using png image instead of JPEG like this but no luck. This is what I am getting in Edge but in rest of the borwser I am able to get a proper chart image. distorted

Note: I have tried passing directly image url to .addImage() function which works fine with all browser.

Can someone please point me, what I am missing or doing wrong?

codeReadyy avatar Feb 06 '17 07:02 codeReadyy

Try using open it on Paint...May be,The Problem is in windows photos App background.Otherwise try to change the background of windows photos.

anandanguru avatar Feb 06 '17 11:02 anandanguru

As this is pdf It won't possible to open it using Paint. And I have tried using the different background as well but no luck.

codeReadyy avatar Feb 06 '17 11:02 codeReadyy

Try using dwnld in png format and open it on paint..It will works

anandanguru avatar Feb 06 '17 11:02 anandanguru

It didn't work. Here is my plunkr. Any of the image viewer app doesn't even opening the file if I change the format to PNG from pdf.

codeReadyy avatar Feb 06 '17 11:02 codeReadyy

Refactored context2d. Probably would work now...

Uzlopak avatar Sep 06 '18 19:09 Uzlopak