Page 1 of 1

PNG files in reports have black background

Posted: Tue Jan 29, 2019 4:45 pm
by rpotyka
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.

Re: PNG files in reports have black background

Posted: Thu Jan 31, 2019 7:07 am
by Lech Kulikowski
Hello,

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

Posted: Tue Feb 05, 2019 11:16 am
by rpotyka
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.

Re: PNG files in reports have black background

Posted: Fri Feb 08, 2019 8:23 am
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue.

Thank you.
#7826

Re: PNG files in reports have black background

Posted: Wed Feb 20, 2019 9:38 am
by rpotyka
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.

Re: PNG files in reports have black background

Posted: Thu Feb 21, 2019 11:53 am
by Lech Kulikowski
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.

Re: PNG files in reports have black background

Posted: Fri Feb 22, 2019 10:13 am
by HighAley
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.