[watermark] image and text problem in PHP and JS

Stimulsoft Reports.PHP discussion
Post Reply
Sarmad12
Posts: 4
Joined: Sat Jul 24, 2021 4:16 pm

[watermark] image and text problem in PHP and JS

Post by Sarmad12 » Sat Jul 24, 2021 4:30 pm

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!
Lech Kulikowski
Posts: 4055
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Tue Jul 27, 2021 9:04 am

Hello,

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

Thank you.
Attachments
Screenshot 2021-07-27 110330.png
Screenshot 2021-07-27 110330.png (99.35 KiB) Viewed 2222 times
Sarmad12
Posts: 4
Joined: Sat Jul 24, 2021 4:16 pm

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

Post by Sarmad12 » Tue Jul 27, 2021 5:06 pm

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!
Lech Kulikowski
Posts: 4055
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » Wed Jul 28, 2021 10:50 am

Hello,

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

Thank you.
#4449
Sarmad12
Posts: 4
Joined: Sat Jul 24, 2021 4:16 pm

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

Post by Sarmad12 » Sat Jul 31, 2021 11:34 am

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,
Lech Kulikowski
Posts: 4055
Joined: Tue Mar 20, 2018 5:34 am

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

Post by Lech Kulikowski » 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.
Sarmad12
Posts: 4
Joined: Sat Jul 24, 2021 4:16 pm

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

Post by Sarmad12 » Sat Aug 07, 2021 6:14 pm

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!
Andrew
Posts: 4092
Joined: Fri Jun 09, 2006 3:58 am

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

Post by Andrew » Mon Aug 09, 2021 10:42 am

You are welcome!
Post Reply