Images not displaying in PDF export

Stimulsoft Reports.Silverlight discussion
Locked
AlastairPitts
Posts: 1
Joined: Sun May 20, 2012 11:22 pm

Images not displaying in PDF export

Post by AlastairPitts »

I have an issue with the 2012.1 release of SL reports.

The images do not correctly show in the exported PDF file. They correctly display in the SL viewer, but not in the exported file.

In the previous version (2011.3), this actually caused a crash.

It seems to be a result of the image being smaller than the StiImage component.

I will attach a sample report (MRT) and PDF output which was generated using the designer (winforms).

Regards,
Alastair

NOTE: I realise that the image is pointing to a path on my hard drive, but the attached JPG will demonstrate what it looks like (it's a small 16x16 pixel image). This JPG was generated using the Save to JPG option.
Attachments
1855.ImageTest.jpeg
1855.ImageTest.jpeg (45.75 KiB) Viewed 2145 times
1854.ImageTest.pdf
(7.89 KiB) Downloaded 307 times
1853.ImageTest.mrt
(3.18 KiB) Downloaded 350 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Images not displaying in PDF export

Post by HighAley »

Hello.
AlastairPitts wrote:I have an issue with the 2012.1 release of SL reports.

The images do not correctly show in the exported PDF file. They correctly display in the SL viewer, but not in the exported file.

In the previous version (2011.3), this actually caused a crash.

It seems to be a result of the image being smaller than the StiImage component.

I will attach a sample report (MRT) and PDF output which was generated using the designer (winforms).

NOTE: I realise that the image is pointing to a path on my hard drive, but the attached JPG will demonstrate what it looks like (it's a small 16x16 pixel image). This JPG was generated using the Save to JPG option.
Due to Silverlight restrictions it's impossible to open file without OpenFileDialog. So you should set the Image property in the Designer by opening file there.

Thank you.
Locked