Last post Aug 01, 2013 04:25 AM by Anand Upadhyay
Oct 31, 2007 08:54 AM|erodevadivel|LINK
i am using crystal report and dotnet charting 2005 tools if report generating time combine the two tools and exporting pdf file.my problem is exporting time combine both exporting working fine,but chart image quality is very low.
the following method i use:
I Create a dataset which one of the field in the data table is base64binary.
After retrieval of the file path, open the file and store the image file as array of byte in that column.
When you bind the dataset to your report as the data source, you can easily drag and drop the image field to your report.
Conversion of image file to array of byte:
Dim fs As New System.IO.FileStream(<file path>, IO.FileMode.Open)
Dim br As New System.IO.BinaryReader(fs)
Dim arrayByte() As Byte
arrayByte = br.ReadBytes(CInt(fs.Length))
how i to solve t his problem. any one give any idea?
Aug 01, 2013 04:25 AM|Anand Upadhyay|LINK
Crystal Reports 9 is optimized for vector based graphics. If you are not using vector based graphics then the image quality degrades to increase performance. This wasn't fixed in the original CR 9 release but with the most recent hotfixes the following option
was added. Under file > report options there is a check box called Retain Image Color Depth that will force Crystal to keep the image as it was when it was loaded. If you don't have the option then you need to get the most recent hotfix. If you are using Crystal
Reports For .NET then you right click on the design window select report, then options and then the checkbox is there. At least with CR 9 developer, Im not using the bundled CR for .net.