Hi I'm using stimulsoft-reports-js node package in my backend.
The application allows user to download pdf with some data mapped which includes logo base 64 buffer.
both png and jpg files are allowed but when generating pdf the background of the png image comes up as black (the problem does not appear in the viewer designer)
Report is exported to pdf via stimulsoft exportToAsync function which I saw was recommended when handling images on the pdf.
is there some property in export or report options that should be set before exporting it to pdf in order to have the png files being rendered correctly.
Will really appreciate any advice to resolve the problem.
Kind regards.
PNG files in reports have black background
PNG files in reports have black background
- Attachments
-
- Example withh erronously displayed png image
- _2019-01-29 17_41_04-Window.png (51.64 KiB) Viewed 2762 times
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: PNG files in reports have black background
Hello,
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data which reproduces the issue for analysis.
Thank you.
Re: PNG files in reports have black background
Here's an example with the png file. It's from samples JS pdf export example and it's altered to show the png background problem.
I've attached generated pdf as well.
I've attached generated pdf as well.
- Attachments
-
- PNGexample.zip
- (158.29 KiB) Downloaded 156 times
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: PNG files in reports have black background
Hello,
We need some additional time to investigate the issue.
Thank you.
#7826
We need some additional time to investigate the issue.
Thank you.
#7826
Re: PNG files in reports have black background
Hello,
is there any update on this issue or some plan/estimation to when this could be resolved?
Resolving this issue is very crucial to the project I'm working on.
Sincerest regards.
is there any update on this issue or some plan/estimation to when this could be resolved?
Resolving this issue is very crucial to the project I'm working on.
Sincerest regards.
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: PNG files in reports have black background
Hello,
We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.
Thank you.
We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.
Thank you.
Re: PNG files in reports have black background
Hello.
Sorry, there are some technical limitations that do not allow us to fix the issue.
As a workaround, you could change the transparent background to white.
It will fix the issue.
Thank you.
Sorry, there are some technical limitations that do not allow us to fix the issue.
As a workaround, you could change the transparent background to white.
It will fix the issue.
Thank you.