We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ConvertToPDF

Thread ID:

Created:

Updated:

Platform:

Replies:

148572 Oct 25,2019 08:32 AM UTC Nov 22,2019 12:05 PM UTC ASP.NET Core - EJ 2 4
loading
Tags: XlsIO
BETBEDER Nicolas
Asked On October 25, 2019 08:32 AM UTC

Hello,

I have an issue using the last version of XlsIO (Xlsio;et.ore 17.3.0.19).

I am trying to convert to PDF an Excel Workbook with soome pictures inside.
My issue is the size of the converted PD.

Ex: Excel size : 16Mo    renderer.ConvertToPDF  gives a PDF of 40Mo...

But when I open the workbook and save it to PDF using Excel, the size of the PDF on disk is only 200 Ko.

I tried to use PdfCompressionOptions to compress all the images but this part is not recognize in .Net Core.

Do you have any options so I can overcome this ssue?
Thank you,
Nicolas

Attachment: example_5c1fe897.zip

Abirami Varadharajan [Syncfusion]
Replied On October 28, 2019 09:22 AM UTC

Hi BETBEDER  , 
 
Greetings from Syncfusion. 
 
Please find the details for your queries below. 
 
Queries 
Details 
I am trying to convert to PDF an Excel Workbook with soome pictures inside. 
My issue is the size of the converted PD. 
 
Ex: Excel size : 16Mo    renderer.ConvertToPDF  gives a PDF of 40Mo... 
 
But when I open the workbook and save it to PDF using Excel, the size of the PDF on disk is only 200 Ko. 
 
We are validating the file size issue of converted PDF document. We will update further details by 30th October 2019. 
I tried to use PdfCompressionOptions to compress all the images but this part is not recognize in .Net Core. 
Currently, we don’t have support for loading the PDF document in ASP.NET Core. Hence, it is not recognizable. 
 
 
Regards, 
Abirami 


Konduru Keerthi Konduru Ravichandra Raju [Syncfusion]
Replied On October 30, 2019 01:32 PM UTC

Hi Betbeder, 

On analysis, we found that the file size is increased due to the images used in the Excel file. We are analyzing further to reduce the file size and we will update the details on 1st November 2019. 

Regards, 
Keerthi. 


Konduru Keerthi Konduru Ravichandra Raju [Syncfusion]
Replied On November 1, 2019 05:54 PM UTC

Hi Betbeder, 

We have confirmed the issue File Size is increased while converting Excel to PDF and logged a defect report. We will provide the patch for this issue on 22nd November 2019.  

Regards, 
Keerthi. 


Konduru Keerthi Konduru Ravichandra Raju [Syncfusion]
Replied On November 22, 2019 12:05 PM UTC

Hi Betbeder, 

Thanks for your patience. 

We have fixed the issue File Size is increased while converting Excel to PDF and generated custom assemblies for the fix. The custom assemblies can be downloaded from the following link. 


As you are using weekly NuGet release version, we are unable to provide fix in the from of patch and hence generated custom assemblies. We request you to upgrade to the product release version to get fixes in the form of patches instead of custom assemblies. 

The fix for this issue will be included in our release version 17.4 SP-1 which will be rolled out by end of January 2020. 

Regards, 
Keerthi. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon