We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image quality poor in header when converting to pdf

If I place an image in a worksheet header and then save as pdf, the image quality is poor.



The same image placed in the body of a worksheet renders ok.



I am using the following code:





Workbook workbook = new Workbook(@“C:\temp\Book1.xlsx”);

workbook.Settings.CreateCalcChain = false;

workbook.CalculateFormula();

workbook.Save(@“C:\temp\Test1.pdf”, SaveFormat.Pdf);







Is there any way to increase the quality of the image in a header?



Attached workbook and generated pdf.

Hi,


Thanks for providing us sample code and template file.

After an initial test, I observed the issue as you mentioned by converting your template file to PDF file format, the image’s quality is poor in the header when
converting to PDF file format. I have logged a ticket with an id “CELLSNET-43198” for your issue. We will look into it soon.

Once we have any update on it, we will let you know here.

Thank you.


Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.3.0.4 and let us know your feedback.

Hi,

Thank you, that appears to have solved this issue.

Hi,


Thank you for the confirmation. Please feel free to contact us back in case you need our further assistance with Aspose APIs.

The issues you have found earlier (filed as CELLSNET-43198) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.