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

Free Support Forum - aspose.com

Aspose.Word does not convert a specific Word 2017 file to jpg

We have trouble converting a specific Word 2017 file to jpg using Aspose Words, other Word files aer converted as expected but we have to report on why this specific file does not so we can take any specs into account for future cases.
Can you please advise? We can provide the specific (confidential) file if required, just provide details on how to do that.


@nicolashh Please attach the problematic document here for testing. It is safe to attach files in the forum, only you and Aspose staff members can see your attachments in the forum.

Word file not converted to jpg

@nicolashh Thank you for additional information. I cannot reproduce the problem with the latest 21.11.0 version of Aspose.Words. I used the following code for testing:

Document doc = new Document(@"C:\Temp\PC-CA-100689 Respiratory OFEV - Website copy - MoreThanScleroderma.ca.docx");

ImageSaveOptions opt = new ImageSaveOptions(SaveFormat.Jpeg);
for (int i = 0; i < doc.PageCount; i++)
    opt.PageSet = new PageSet(i);
    doc.Save(string.Format(@"C:\Temp\out\page_{0}.jpeg", i), opt);

Thank you, the update solved the issue!