Page 1 of 1

[watermark] image and text problem in PHP and JS

Posted: Sat Jul 24, 2021 4:30 pm
by Sarmad12
Hello,
This bug is very simple for re-producing it in PHP and JS versions and even the last ones 2021.3.4 version !

Explaining of the problem: (the problem is all about the transparency of text and image)

1. Watermark text transparency only work if you didn't change text color but if you did the transparency of text will never work again until you reload the origin report file again. One can reproduce this bug from using PHP and JS demo from Stimulsoft web site by opening a demo and playing with watermark text as said.

2. Watermark image transparency doesn't work at all. (I used png jpeg with no success).

to sum up:
Text transparency only works if you didn't change its text color whether the image transparency doesn't work.

Thanks!

Re: [watermark] image and text problem in PHP and JS

Posted: Tue Jul 27, 2021 9:04 am
by Lech Kulikowski
Hello,

You should the following option:
options.appearance.reportDisplayMode = Stimulsoft.Report.Export.StiHtmlExportMode.Div;
https://www.stimulsoft.com/en/documenta ... ttings.htm

Thank you.

Re: [watermark] image and text problem in PHP and JS

Posted: Tue Jul 27, 2021 5:06 pm
by Sarmad12
Dear Lech Kulikowski,

First of all, thanks for your replay but unfortunately this is not a solution for the problem. I mean using watermark text and watermark image they lack the transparency in PHP and JS versions of Stimulsoft. can you please make watermark image giving it some transparency in order to show the contents behind it. I tried with no success!. I think this is bug in Stimulsoft PHP and JS versions as I tested this with the latest versions. For your information I tested the transparency on .net version it worked without problems.

Thanks!

Re: [watermark] image and text problem in PHP and JS

Posted: Wed Jul 28, 2021 10:50 am
by Lech Kulikowski
Hello,

We are working on that issue. We will let you know about the result.

Thank you.
#4449

Re: [watermark] image and text problem in PHP and JS

Posted: Sat Jul 31, 2021 11:34 am
by Sarmad12
Many thanks for this.

May I ask about whether you have any plan for adding rich text to PHP version of the report.

I have another question please. Which Stimulsoft report can be used with Golang except JS version?

All the best,

Re: [watermark] image and text problem in PHP and JS

Posted: Mon Aug 02, 2021 10:53 am
by Lech Kulikowski
Hello,

> May I ask about whether you have any plan for adding rich text to PHP version of the report.

We do not have plans to add RichText in web versions.

> Which Stimulsoft report can be used with Golang except JS version?

We do not test our products with Golang.

Thank you.

Re: [watermark] image and text problem in PHP and JS

Posted: Sat Aug 07, 2021 6:14 pm
by Sarmad12
Lech Kulikowski wrote: Mon Aug 02, 2021 10:53 am Hello,

> May I ask about whether you have any plan for adding rich text to PHP version of the report.

We do not have plans to add RichText in web versions.

> Which Stimulsoft report can be used with Golang except JS version?

We do not test our products with Golang.

Thank you.
Thank you for the reply so much appreciated!

Re: [watermark] image and text problem in PHP and JS

Posted: Mon Aug 09, 2021 10:42 am
by Andrew
You are welcome!