Compress Image

Stimulsoft Reports.NET discussion
Post Reply
simgschw
Posts: 73
Joined: Mon Jan 07, 2013 1:34 pm

Compress Image

Post by simgschw »

Hi!

I use the image control to display images in the report. Images are from database, therefore I use the DataColumn in image control.

When lots of images are used, reports get very big. How can I compress the images before they are rendered?


You'll find a sample report in the attachement. The sample gets data from xml source. You'll have to reload the path to xsd schema and the path to xml data.

Regards
Simone
Attachments
Stimulsoft_TestReport.zip
(6.37 MiB) Downloaded 151 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Compress Image

Post by HighAley »

Hello.

The images are converted to bitmaps before rendering and they will take much memory anyway.
If you have the same images in different parts of the report, you could use variable to avoid duplicating of the images in the memory,
Could you describe your issue more detailed? When do you get large memory usage?
Could you send us a sample project that reproduces the issue?

Thank you.
Post Reply