Transparency in RTF

Stimulsoft Reports.WPF discussion
Post Reply
bg00071
Posts: 11
Joined: Wed Oct 12, 2011 4:18 am
Location: Belgium

Transparency in RTF

Post by bg00071 »

It looks like transparency in pictures is lost when saving to RTF files.

Viewer: Image

RTF: Image
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Transparency in RTF

Post by Ivan »

Hello,

We couldn't reproduce this bug.
Which version and build of Stimulsoft Reports do you use?
Can you please send us a sample report template with data, which reproduces the issue?

Thank you.
bg00071
Posts: 11
Joined: Wed Oct 12, 2011 4:18 am
Location: Belgium

Transparency in RTF

Post by bg00071 »

I use WPF 2011.3 version, but I've got the same problem using the latest prerelease build.
Attachments
1737.Report.mdc
(1.94 MiB) Downloaded 266 times
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Transparency in RTF

Post by Ivan »

Hello,

The problem is solved.
The patch will be available in the next release 2012.1.

Thank you.
bg00071
Posts: 11
Joined: Wed Oct 12, 2011 4:18 am
Location: Belgium

Transparency in RTF

Post by bg00071 »

Thanks! I'm eager to have that release!
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Transparency in RTF

Post by Andrew »

Hello,

That would be great if you let us know about the result.

Thank you.
bg00071
Posts: 11
Joined: Wed Oct 12, 2011 4:18 am
Location: Belgium

Transparency in RTF

Post by bg00071 »

Hi guys,

I just tried the trial version of the 2012.1 release. The result looks a bit better, but we still have a problem.

The background of the picture has changed from black to white, but when inserting a watermark in the RTF file this white background remains.
When opening the RTF file using notepad I noticed some texts like '\jpegblip', so I guess this has something to do with jpegs not supporting transparency.

We need mostly PDF files, but occasionally also RTF files. When we faced this problem a while ago, we realised that the use of PNG images (or some other image type that supports transparency) would be our only option.
This solved the problem for the PDF files, but not for the RTF files...
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Transparency in RTF

Post by Ivan »

Hello,

We have added a new property to the Rtf export settings - StiRtfExportSettings.StoreImagesAsPng, by default false.
In your case you should set this property to true.
The patch will be available in the next prerelease build.

Thank you.
Post Reply