Hi
We have a word document containing two images. When converting it to PDF (or PDF/A-2a) using Aspose.Words for .NET 21.10.0 (same with 21.8.0) the first of the images is lost, while the second is added to the PDF.
I have attached an example Word and the resulting PDF which was generated with:
var input = new Document("C:\\tmp\\Input.docx");
input.Save("C:\\tmp\\Output.pdf");
/*
Same result when using:
var saveOptions = new PdfSaveOptions
{
Compliance = PdfCompliance.PdfA2a
};
input.Save("C:\\tmp\\Output.pdf", saveOptions);
*/`
- When opening the word file with MS Word, save as pdf -> both images are contained
- When opening the word file, right click on the first image -> change how it interacts with the text (the setting can remain the same, but it has to be changed manually first), then the PDF generated with Aspose.Words contains both images
- The images have been added to the Word File while editing it with OnlyOffice in our application
Best Regards
Thomas Jost
Input.docx (1.6 MB)
Output.pdf (1.0 MB)