Free Support Forum - aspose.com

Circle becomes square

Hi,

I use a picture resized from a square border to a circle border. And when I save it in pdf, the circle becomes a square.

Code used:

Save(szXLSFile + szExtPdf, Aspose.Cells.SaveFormat.Pdf)

Please find the documents in the attached ZIP file. test1.zip (279.4 KB)

Thanks for your time

@LaurentToulouse,

Thanks for the template file and details.

After an initial test, I am able to observe the issue as you mentioned by converting your template file to PDF file format. I found picture’s circle border has become square border in Excel to PDF rendering.
e.g
Sample code:

Workbook wb = new Workbook("Classeur1.xlsx"); 
wb.Save("output.pdf");

I have logged a ticket with an id “CELLSNET-45921” for your issue. We will look into it soon.

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

@LaurentToulouse,

This is to inform you that we have fixed your issue(logged earlier as “CELLSNET-45921”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-45921) have been fixed in Aspose.Cells for .NET v18.7. Please also check the document/article for your reference: https://docs.aspose.com/display/cellsnet/Installation