PNG files in reports have black background
Posted: Tue Jan 29, 2019 4:45 pm
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.
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.