See files attached (src + resulting pdf).
I’m using Aspose Cells v 18.104.22.168 from .Net 3.5 (c#):
private bool ConvertAttachToPdf_Aspose(string excelPath, string pdfPath)
Workbook book = new Aspose.Cells.Workbook(excelPath);
book.Save(pdfPath, new XlsSaveOptions(SaveFormat.Pdf));
See images attached.
XLS files are generating by Russian ERP system (named “1C” version 8). 1C can save invoice to xls or xlsx (see samples attached), we can edit/change invoice template using build-in tools. But no image borders, no shadows defined in our template for this images.
It's very strange that we get the attached bmp files in the xls file and we could not get any Crop properties from the file. Are you sure that the attached picture files in the previous post are your source picture files?
Could you share us some information about how to add an image file to xls file in your C1 ERP System?
This will help us to evaluate your issue.
After closely look into this issue again, we find that the image in the template file is a dib file and there is a bug when we convert a dib file to image object.We will try to fix it.
Please download and try the latest fix: Aspose.Cells for .NET v22.214.171.124