Does it makes any change from functionality point of view ? What would be impact in terms of memory and processor? Can you please provide rough figures if you have any for the given file and parameters? I need difference of using CachedFileFolder parameter. I think this will fix issue of RAM consumption but not sure how processing time will be improved with this change.
Hi,
After looking into your issue, we found that the chart is complex with 5000+ polylines and each chart will render 3 times for it is divided into 3 parts, so it needs more time to convert
So, we suggest you to use
C#
PdfSaveOptions pso = new PdfSaveOptions(SaveFormat.Pdf);
pso.ImageType = ImageFormat.Png;
It will save much time.
or try to make each chart rendered in one page.
What are the side effects of using your code snippet ? What is default image type and why not default?
Hi,
Thanks for your question and using Aspose.Cells.
By default we convert chart into pdf as vector drawing with highest quality, if you will use the code snippet as given to you, the chart will be converted as png and it saves much time when chart is complex but it gives a lower quality.
What are other imagetypes ? Why not Jpeg ? If image type is PNG then pdf size will be bigger in size?
Hi,
Hi,
Jpeg can not support transparency, so we do not use JPEG in PDF.