Issue converting specific word document to PDF

The following word document is not being rendered correctly when converted to PDF, part of the image in the document is being overlapped by a white square…

TestDoc.7z (101.0 KB)

The following code reproduces the issue with Aspose 22.9…

public static void ConvertToPDF(string testFile)
{
    FileInfo file = new FileInfo(testFile);

    Assert.IsTrue(file.Exists);

    string pdfFileName = Path.Combine(
        Path.GetDirectoryName(testFile),
        $"{ DateTime.Now:yyyyMMdd - HHmm - ss}_{ Path.GetFileNameWithoutExtension(testFile)}.pdf");

    if (File.Exists(pdfFileName))
        File.Delete(pdfFileName);

    var format = Aspose.Words.Saving.SaveOptions.CreateSaveOptions(pdfFileName).SaveFormat;

    using (var outputStream = File.Create(pdfFileName))
    {
        using (var inputStream = File.OpenRead(testFile))
        {
            Document wordDocument = new Document(inputStream);
            wordDocument.Save(outputStream, format);
        }
    }
}

This is possibly related to…

https://forum.aspose.com/t/issue-converting-word-document-containing-a-chart-to-a-pdf/245482

@support-1 Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-24306. We will keep you informed and let you know once it is resolved.

It is not likely the issue is related to the issue you have reported in another you thread, since the issue reported here is related to shape rendering, but the issue in another thread is related to DML Chart rendering.

@alexey.noskov the document contains an image and an editable diagram below it

@support-1 Thank you for additional information. Yes I have noticed this. We will keep you updated and let you know once the issue is reolsved.